View Single Post
  #2  
Old 06-03-2014, 02:15 PM
The Little Shop of Chocs's Avatar
The Little Shop of Chocs The Little Shop of Chocs is offline
 
Join Date: Mar 2014
Posts: 9
Default Redirect to own page after clearing shopping bag

Hello

I'm having the same problem as these people*–
http://www.ecwid.com/forums/showthread.php?t=28032
http://www.ecwid.com/forums/showthread.php?t=22919

I have used this code – http://kb.ecwid.com/w/page/67024231/... – to redirect my shopping cart buttons back to the front page of the website.

Here is the website – http://www.pualv.com/carousel/

The code works fine except for the 'continue shopping' button that appears on the 'your shopping bag is empty' page immediately after emptying the shopping bag (in this case it defaults to the two main categories).

If I navigate away from the page and then click the 'shopping bag' to bring it up again, the button then works as it should.

The javascript does not add the 'clone' class to the button on first loading the page after emptying the shopping bag but it is added on subsequent visits to this page.

Could you please tell me how to fix this so that 'continue shopping' button always goes back to the front page? Thanks.

(This is a duplicate of a thread http://www.ecwid.com/forums/showthread.php?t=28036 which is prob in the wrong category)