General information about your merchant outlet e.g. merchant details, used currencies and distribution zones, basis freight, freight cost table, discount table etc. is stored with the basket application on the baskets web-server.
All product specific information which needs to be shown in the
shopping basket or the order-email you as the merchant will receive needs
to be submitted via html form.
What product specific info is required?
Each item within a form statement gets assigned a running number e.g.
NM1, QU1, PR1, NM2, QU2....
If a value is defined in the form-action statement & a hidden field
the value in the hidden field gets used.
If the basket is switched to a currency number for which no values have been defined it will show the first price defined.
EXAMPLES:(please note that prices & weights in this examples are random figures only)
How to call the basket and add your items?
You call the basket by just calling the basket url and adding your Provider ID as a
parameter. In case you have more than one currency you add the number to be
used as parameter as well. You have to add the target frame if you want the basket to go into one of your frames.
How to add items to your basket?With our pottery example we show you how it can be done as there are several ways.
Please look up the source code to work it out for yourself.
1. Single adding of one item. No form is required - a button of your choice with a link will do. Item specific values are sent as parameters with the link.
2. Single item with user entry fields for quantity, user comment and options: (in this case freight is included in the price already)
Multiple items (options) using just one "add to basket" button: (in this case the weight is defined each item is added to a defined basis weight and the freight cost will be calculated and shown accordingly - also a discount is defined to apply above an order value of NZ$ 100, US$80, AU$100 and EURO 100)