Shopping Cart Form Code
If you using Venue Merchant Solutions, the following code can be used to add items to the shopping cart.
Add item to Venue Cart code:
Remember to substitute your store's short name where you see yourname, and substitute your product identification where you see ALL CAPS. You can find your store's short name by viewing your shopping cart in a browser and looking for the name between mall and cart in the address bar.
<form action="https://store.venuecom.com/mall/yourname/cart/additem/" method="post">
<input type="hidden" name="ProductID" value="1"><!-- assign unique ID for each product -->
<input type="hidden" name="ProductName" value="PRODUCT NAME">
<input type="hidden" name="ProductWeight" value="PRODUCT WEIGHT"><!-- to not charge tax for an item set value to 0 -->
<input type="hidden" name="ProductPrice" value="PRICE">
<input type="hidden" name="Quantity" value="1">
</form>
To allow quantities greater than 1, change quantity to a select statement.
For product options add the following code between form tags.
<input type="hidden" name="Option_1" value="OptionName:White|WeightMod:0|PriceMod:0">
If you want to allow multiple purchases of the same product, add the following code between form tags. This will allow the visitor to add the same item multiple times. For example, this would allow several gift certificates to be purchased, each with different denominations.
<input type="hidden" name="AddMultiple" value="true"><!-- to allow multiple purchases of the same product set value to true -->
To not charge tax for an item, add the following code between form tags.
<input type="hidden" name="Taxable" value="false">
To not charge shipping for an item, set the item's weight to 0.
To allow multiple items to be purchased from 1 page, add 'Multiorder_' followed by a unique number, followed by '_', followed by the input name. Here is an example:
<input type="hidden" name="Multiorder_0_ProductID" value="53011">
<input type="hidden" name="Multiorder_0_ProductName" value="Carita Balsamic Vinegar">
<input type="hidden" name="Multiorder_0_ProductWeight" value="16.9">
<input type="hidden" name="Multiorder_0_ProductPrice" value="5">
<input type="text" name="Multiorder_0_Quantity" size="3" maxlength="5" value="">
<input type="hidden" name="Multiorder_1_ProductID" value="53012">
<input type="hidden" name="Multiorder_1_ProductName" value="Carita Extra Virgin Olive Oil">
<input type="hidden" name="Multiorder_1_ProductWeight" value="16.9">
<input type="hidden" name="Multiorder_1_ProductPrice" value="6">
<input type="text" name="Multiorder_1_Quantity" size="3" maxlength="5" value="">
To pre-fill the billing information on the begin checkout page post or url encode with the following variables. Here is an example:
<input type="hidden" name="email" value="example@address.com">
<input type="hidden" name="billto_firstname" value="First">
<input type="hidden" name="billto_lastname" value="Last">
<input type="hidden" name="billto_address1" value="123 Anystreet">
<input type="hidden" name="billto_address2" value="Apt 1">
<input type="hidden" name="billto_city" value="City">
<input type="hidden" name="billto_state" value="State">
<input type="hidden" name="billto_zip" value="Zip">
<input type="hidden" name="billto_country" value="Country">
<input type="hidden" name="billto_phone1" value="555-1212">
To not require shipping and hide the shipping address use the following code:
<input type="hidden" name="ship_not_required" value="true">