Community Forums 

Main Content

Return to the previously purchased item from the Continue Shopping button

    Dec 14 2009 13:00:04

    #1

    Don

    Join date : 2008-09-18      Posts : 487

    I use Forms which work great and return back to the webpage from the Cart.

    However, is it possible to return to the previously purchased item from the Continue Shopping button.

    I have a long page of products and after making a purchase it would be good if when the Continue Shopping button is used, it takes the purchaser back to the same item and page that they last purchased from.

    Anybody, any ideas.

    Any help greatly appreciated.

    DB

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Dec 14 2009 13:11:36

    #2

    Alan

    Join date : 2008-09-18      Posts : 2951

    In your form you can include the URL for a Continue shopping button in the cart, giving the address of the page containing the form.

    <input name="return" type="hidden" value="www.your-site.com/thispage.html"; />

    See https://www.mals-e.com/tpv.php?tp=2

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Dec 14 2009 13:40:40

    #3

    Don

    Join date : 2008-09-18      Posts : 487

    Alan,

    I already have this and it works OK.

    <input name="return" type="hidden" value="www.your-site.com/thispage.html";; />

    I would like it to return first to the Page (which it already does) and then to the last ITEM that they purchased, to save scrolling down the page again.

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Dec 14 2009 14:07:14

    #4

    Alan

    Join date : 2008-09-18      Posts : 2951

    It is possible to go to a particular place on a page but it would have to be named in the link.

    So if you have multiple forms (or links) on a page you could have a different return point for each but if there's only one then you only provide one return address.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Dec 14 2009 14:07:15

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    I don't think anchors work. Why not try "nocart" and have them stay on your page and not go to the cart until they want to checkout?

    <input type="hidden" name="nocart>

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Dec 14 2009 14:16:25

    #6

    Don

    Join date : 2008-09-18      Posts : 487

    Thanks,

    I already use 'no cart' and an Iframe.

    I seemed to remember there was a script like this

    <a href="javascript:history.go(-1)">
    Go Back
    </a>

    But whether it could be incorporated I don't know.

    DB

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Dec 14 2009 14:20:12

    #7

    Alan

    Join date : 2008-09-18      Posts : 2951

    Anchors would work - but it sounds as though you wish to return from a 'View cart' visit rather than a purchase, so you'll return to wherever you specify in the View cart link.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Dec 14 2009 16:28:23

    #8

    anon

    Join date : 2008-09-18      Posts : 488

    Don,

    Create bookmarks on your page for each product:
    <a name="prodid"></a>

    Then add the bookmark to your return link:
    <input name="return" type="hidden" value="www.your-site.com/thispage.html#prodid"; />



    Dec 14 2009 16:35:05

    #9

    Don

    Join date : 2008-09-18      Posts : 487

    Thanks for the info.

    Now closed.

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook