Announcement

Collapse
No announcement yet.

Refreshing current page after clicking add to cart

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

    Refreshing current page after clicking add to cart

    Hi

    I'm currently evaluating the demo version of Actinic 7 (Dev), and have successfully published a site "locally" on my machine.

    Once a product is added to the cart, by default a page is then displayed showing the contents of the cart (which then subsequently refreshes back to the products page.)

    I see that it is infact possible to go straight to the checkout after clicking "add to cart" (pp.43 of advanced user guide). But I would like to have it so the user stays where they are. In other words, once this button is clicked, the page refreshes, the cart items: value: table (underneath Search) updates, but the user does not leave the current page (obviously until the user clicks "checkout"). Is this possible?

    Any advice appreciated.

    Thanks, Ben

    #2
    I think that you could achive what you want by setting the page refresh from '5' or whatever it is by default to 0.

    That would cause the cart page to refresh immediatly back to the referring page.
    Matt
    Actinic User since v.3

    Custom Actinic Site Specialist:
    <a href="http://www.glowsticksdirect.co.uk/">GlowSticksDirect.co.uk</a>
    <a href="http://www.digishopdirect.co.uk/">DigiShopDirect.co.uk</a>
    <a href="http://www.calibreshopping.co.uk/">CalibreShopping.co.uk</a>

    Comment


      #3
      while we are on the subject, has anyone been able to avoid the cart page after adding items to a simple pop up box that says items added to basket click ok

      if not maybe one for the wish list, i have noticed a lot of sites now use this instead of refreshing the page. I'm not sure if this can be done with a bit of scripting or a serious change to actinic?

      Cheers
      Darren

      Comment


        #4
        Originally posted by Pneumatus
        I think that you could achive what you want by setting the page refresh from '5' or whatever it is by default to 0.

        That would cause the cart page to refresh immediatly back to the referring page.
        Thanks Matt. Yeah I thought that. But setting the bounce to 0 causes the it to stall on the shopping cart bounce page. Setting it to 1 almost creates the effect I'm after, but it would be better not to go there at all. Is that poss?

        I'm trying to create it so the user can browse around the site, adding different products, without the to-ing and fro-ing. A table in the right hand side could list everything they're adding. And they check out when ready. (trying to emulate the big ecom sites basically) Cheers

        Comment


          #5
          Is that poss?
          I'm afraid it isn't. There always has to be a perl operation (i.e. it has to go somewhere) in order for something to be added to the cart.

          Comment

          Working...
          X