Example of a 'variable option' that depends on a quantity box, useful for ordering different numbers of different sizes. We suppress the normal qty box, and create our own that are associated with specific options, in this case product sizes. The all have the same option number, but the are associated with 'different' products, the thing in quotes ( sm, md or lg ) is tacked on to product id number in the browser text ( putting the contents of the global variable $sc_web_pid_sep_char in between. ) You can enter default numbers in the new QTY boxes by adding the default number after the comma, see the large option below for an example. Notice the use of <!--AGSC and AGSC--> helper tags, which are deleted at run-time to re-glue the agorascript.

--cut here--

# this needs to be inside the cut-here tags to be run! $suppress_qty_box = 'yes'; # we make our own boxes return ''; -->
Available Sizes:

%%QtyBox-sm,%%

%%QtyBox-md,%%

%%QtyBox-lg,1%%

--cut here--