Design Cart - Online Shopping Cart Easy Dynamic Secure Scalable

Help Search our knowledge base:

Index - FAQ - Add to Cart code

 Details
Frequently Asked
Question (FAQ)

Document Number: 840

Optimize for Printing
E-Mail This Link

 Feedback
This document ...
helps resolve my question or problem.
does not apply to my question or problem.
is inaccurate for my question or problem.
Field 4: itemquantity (required)

This variable contains the default number of items a customer may purchase at one time. The entry generally is 1 (one) but could be any number (i.e. a hand-knit sock is sold in sets of 2). You should indicate these quantities in your Web Page description to assist the customer when ordering.

The field is also expandable and may contain entries to either select from a predefined list of values or input the exact number of items desired. This is accomplished by referencing "VARquanitity" in the field and inserting additional lines before the </form> closing tag.

QUANTITYVARIABLE CODE
Quantity Single Selection
(customer has no choice, x items automatically placed in shopping cart)
x
Quantity Multiple Selection                              VARquantity
                                                                            --AND--
Paste this before the </form> tag . . .

<select name="VARquantity">
<option value="A">A items</option>
<option value="B">B items</option>
<option value="C">C items</option>
</select>


To create this sample product listing. . .                  
Quantity Multiple Input                                     VARquantity
                                                                            --AND--
Paste this before the </form> tag . . .

<input type=text name="VARquantity" size=2 value=1>
Enter # of items

To create this sample product listing. . .                  Enter # of items
SSL Copyright © DesignCart 2000-2024 - All Rights Reserved
Privacy Policy         Terms of Use         FAQ's         Contact Us         Site Map
HACKER SAFE certified sites prevent over 99.9% of hacker crime.