Community Forums 

Main Content

Code for Continue Shopping

    Sep 30 2008 21:12:56

    #1

    breastmates

    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="http://www.breastmates.co.nz"><img border="0" src="https://secure6.webhost-dns.net/~breasco/images/button_contshop.gif"; width="115" height="25" align="right"></a>

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

    THANKS!!!



    Oct 07 2008 20:57:23

    #2

    txtony2008

    Join date : 2008-10-07      Posts : 1

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

    example:

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

    http://sinfulcouture.com/products/product_lv_speedy25_m41528.htm

    <form action="http://ww11.aitsafe.com/cf/add.cfm"; 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="www.sinfulcouture.com/new_louisvuitton_handbags.htm">;
    <input type="hidden" name="units" value="2">
    <input type="hidden" name="tax" value="7.375">
    <input type="Submit" value="Add To Cart">
    </form>