Hello. Is it possible to let the content in a cart stay there for some time? Ex. a customer has add to the cart some products, but of some reasons had leave it, could it be some way that the content stay there until he is coming back to our store?

  • created

    Apr '11
  • last reply

    Apr '11
  • 1

    reply

  • 861

    views

  • 2

    users

  • 1

    link

Normally, our cart remembers each buyer's cart contents for up to 24 hours from the last time they view their cart (or until they clear their browser cookies, whichever happens first). If you want each buyer's cart to persist longer than that, you can specify a number of days using cart customization code:

http://www.e-junkie.com/ej/help.custom-cart.htm



E.g., if you're not using any other cart customizations, then you'd just add these lines to your View Cart code on every page, just before the "// -->" line in the standard code you obtained from Seller Admin (here the "7" indicates each buyer's cart will persist for 7 days):



function EJEJC_config() {

EJEJC_CDAYS = 7;

}