uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Clearing Shopping Cart

Knowledge Base Lobby : uShop Support Conference : General Questions
Aug-19-18 07:46 PM EST
Original Message
Clearing Shopping Cart
Author Thomas Huulbaek Andersen on 04-27-2001 at 05:21 (EST)
For Various reasons I REALLY need to clear the shopping cart upon page load (mainly due to differentiated prices). Is this possible and how do I do it?

Best regards,

Table Of Contents
  RE: Clearing Shopping Cart Bill Weiner, 2001-04-28 07:01:25 (1)

Messages In This Discussion
         1. RE: Clearing Shopping Cart
        Author Bill Weiner on 04-28-2001 at 07:01 (EST)
I'm sure you already know that the cart will automatically be cleared when the customer exits his/her browser..... but if you are looking for a way to remove all of the item automatically when visiting a page, as of uShop 3.4:

... we have added a new "clearCart" JavaScript API, as described in Section 5 of the uShop Programmer's Guide:

You basically just need to add the uShop JavaScript Interface Applet (uShopJSI) to your HTML page.... and then call the clearCart() function via a JavaScript such as:

< script >
function clearMyCart()
< /script >

© 2003 Microburst Technologies, Inc.