Announcement

Collapse
No announcement yet.

Store to cart bounce page

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

    Store to cart bounce page

    Hi,

    I have changed the script so when the customer adds to cart it automatically bounces them back to the same page instead of showing the cart or checkout page.

    This is ok but is it possible to bounce them back not just to the same page but to the same product in the list.

    It is annoying adding to cart bouncing back and then having to scroll down the page to the product you were on for you to continue looking through the list of products.

    I know you should limit the amount of products per page but even so I still need it to take you back to where you were before clicking add to cart.

    Any Ideas?

    Regards,

    Nigel

    #2
    Items in the list use anchors, eg: domain.com/acatalog/birds.html#a1829

    I've not yet tested this online, but the link should end in:

    <actinic:variable name="EncodedProductAnchor" />

    As you say, you have edited the script - could you post the part of the script that refers to this redirect.

    Comment


      #3
      Hi,

      In the script I edited as per the KB the replacement script was

      @Response = ReturnToLastPage(0,"");

      Where would i insert your idea?. The code you suggested.

      <actinic:variable name="EncodedProductAnchor" />

      Regards,

      Nigel

      Comment


        #4
        <body onLoad="javascript: history.go(-1)">

        put that in your bounce pages body tag
        www.simonstaton.co.uk

        Comment

        Working...
        X