Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Some options in the demo pages are mentioned inside the “item” variable and some are not. Why?

demo mentioned Options pages
0
10 Posted

Some options in the demo pages are mentioned inside the “item” variable and some are not. Why?

0

Options can be one of two classes, simple, or special. Simple options are those not affecting price, quantity, or shipping fee. Just place them inside the

tags, and virtualCART will append their data to the product description in the cart display. Size, color, those sorts of things. Special options are those which effect the price or quantity of an item. To use them properly, you must have the option name listed in the appropriate field of the “item” variable so virtualCART will know what to do with the data sent. Regardless of simple or special, they are still named op1-32. See below and in the example pages to see how to get options variables to modify item prices and quantities.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.