Announcement

Collapse
No announcement yet.

How do I remove the bounce page after adding to cart?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I remove the bounce page after adding to cart?

    When you use a shopping mode of 'Quantity on Product Page', the standard behaviour is when a customer clicks the add to cart button, SellerDeck shows a bounce page with the updated shopping cart details, and then takes the customer back to the store page.

    However, the bouncing cart page has the potential to confuse some customers and it might potentially be unneccessary, particularly if you have implemented a cart summary in your page layout template that shows the updated cart totals anyway.

    This method causes the bounce page to be suppressed, but the the product will still be added to the cart, and all errors (e.g. exceeding maximum quantities) will still appear correctly.

    This requires a modification of 'ShoppingCart.pl' (which SellerDeck uses to build 'ca00000n.pl')

    Locate 'ShoppingCart.pl' in your SellerDeck site folder, and edit with Notepad or a code editor eg Dreamweaver.

    Goto line 1122:

    @Response = ReturnToLastPage($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970) . ACTINIC::GetPhrase(-1, 2051),$sPageTitle); # bounce back in the broswer

    And relace with:

    @Response = ReturnToLastPage(0,""); # immediate bounce back in the browser without page display

    Note: you must ensure that 'Bounce Page Delay' (in 'Design | Design Options' is set to something other than '0').

    This will not affect the behaviour of the 'Quantity on Confirmation Page', or 'Quantity in Shopping Cart' shopping modes.
    SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Working...
X