After processing an order and you return to the store the cart still has all the same contents as before?
There are only three ways to clear the cart:
1) The customer exits his/her browser (which is typically done after an order is placed.)
2) The customer uses the "Remove" button or the Delete key on the uShopCart applet to remove items.
To implement option 3, here are some steps:
STEP 1) First choose an HTML page that the customer will typically go to after an order is placed (like the page you link customers to after they place an order.)
< /SCRIPT >
STEP 3) On that HTML page, add an "onLoad" function call to the < BODY > line, for example:
< BODY BGCOLOR="#FFFFFF" TEXT="#000000" onLoad="clearCustomersCart();" >
Note how the onLoad function calls the new clearCustomersCart() function that was created/added in Step 2.
STEP 4) Also on that HTML page, be sure to add the uShopJSI applet. This applet is typically added to the very bottom of the HTML page... just BEFORE the closing < /BODY > line:
< applet code="uShopJSI.class" codebase="../classes/" name="uShopJSI" width="2" height="2" >
< /applet >
Your help is greatly appreciated, I've always be a forum doubter but you have really helped really quickly I appreciate your time.