Community Forums 

Main Content

"View cart" Button

    Nov 14 2013 14:07:48

    #1

    KLM63

    Join date : 2013-11-14      Posts : 9

    Hello,
    I'm a newcomer,I'm experiencing a problem with the a.m. subject.
    I created a buy now button with the button maker and everything works fine.
    If I add the code
    <input type="HIDDEN" name="userid" value="gg12345">
    <input type="SUBMIT" value="Show Cart">
    when I hit this button an item is added to the cart,rather than let me see it.
    If I create a separate form,what I get in the new page "Price is not set " message.
    Anyone can help?
    Thanks in advance
    Marco



    Nov 14 2013 14:18:39

    #2

    GT

    Join date : 2008-09-18      Posts : 3243

    Are you using all of this form, replacing the ww# for your server number (ww8 for example) and your user id and giving a return to get the viewer back to your page?

    <form method="post" action="http://ww#.aitsafe.com/cf/review.cfm">
    <input type="hidden" name="userid" value="gg12345">
    <input type="hidden" name="return" value="www.your-domain.com/page-name.html">;
    <input type="submit" value="Show Cart">
    </form>

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Nov 14 2013 15:00:02

    #3

    KLM63

    Join date : 2013-11-14      Posts : 9

    Hello,

    now it works,i missed the "review.cfm"
    Thanks
    Marco



    Nov 14 2013 15:16:27

    #4

    KLM63

    Join date : 2013-11-14      Posts : 9

    Is there a way to let that page open as resized pop up window ?



    Nov 14 2013 18:55:10

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4998

    I do it this way. <a href="#" onclick="window.open('http://wwX.aitsafe.com/cf/review.cfm?userid=123456','cartwin','width=650,height=400,scrollbars,location,resizable,status');">View Cart</a>

    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.




    Nov 14 2013 21:31:00

    #6

    KLM63

    Join date : 2013-11-14      Posts : 9

    Thanks Debbie,
    it works perfectly.
    In the meantime I was able to load the cart in my wp site,expecially in the lightbox prettyphoto.
    I'm a newcomer,maybe this has already been discussed but if you and gt think that can be of any use for others I will open a thread with the instruction on how to do it.