Community Forums 

Main Content

Code for Continue Shopping

    Sep 30 2008 21:12:56



    Join date : 2008-09-30      Posts : 4

    Hi there
    I have the standard buttons at the very bottom of the page on my shopping cart.

    But i would like to customise the top of teh shopping cart, so that the Continue Shopping button also displays up the top too.

    I have created a button with link to home page.

    But how do i create the button so that it links to the previous page teh shopper was on?

    All my hyperlinks on the Add to Cart pages on teh website have the return address set to their own page.

    The Continue SHopping button at the bottom of the shopping cart, the mal's one, that returns to the previous page.

    This is what i have put in the header message to get an extra button showing up:
    <a href=""><img border="0" src=""; width="115" height="25" align="right"></a>

    But how do i put in code for it to return to the previous page?


    Oct 07 2008 20:57:23



    Join date : 2008-10-07      Posts : 1

    You need to put a "return" code in your html.


    here is a link to a button on my page, and below is the button html with the return code:

    <form action=""; method="post">
    <input type="hidden" name="userid" value="D782021">
    <input type="hidden" name="product" value="LOUIS VUITTON SPEEDY 25 HANDBAG M41528 - COFFEE">
    <input type="hidden" name="price" value="499.99">
    <input type="hidden" name="return" value="">;
    <input type="hidden" name="units" value="2">
    <input type="hidden" name="tax" value="7.375">
    <input type="Submit" value="Add To Cart">