Community Forums 

Main Content

Mobile shopping cart

    Nov 14 2012 02:56:18



    Join date : 2008-09-18      Posts : 137

    Has anyone got a sample of a mobile cart that uses the nocart feature.

    I have tried many things and even sent some very basic sample code to vworker who write all sorts of code and they tell me that the issue is at mals cart end with the mobile side of the cart. The normal website using nocart functions correctly.

    Here is the sample code I sent them to review for me

    <form action=""; method="post">
    <input name="userid" type="hidden" value="D123456">
    <input name="return" type="hidden" value="">;
    <input type="hidden" NAME="nocart">
    <INPUT TYPE="HIDDEN" NAME="product" VALUE=" Test Product ">
    <INPUT TYPE="HIDDEN" NAME="price" VALUE="8.50">
    Test Product <b>$8.80</b>
    <input type="image" src="images/cart.gif" alt="Add">


    Nov 14 2012 04:37:19


    Debbie Q

    Join date : 2008-09-18      Posts : 4997

    I suggest emailing Mal directly. My guess is it does not work in the mobil version. Please let us know what he says.

    Debbie Q

    Mal's Support:
    GT's Forms and examples:
    Helpful java scripts:
    Shipping help documents:

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

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

    Nov 14 2012 07:36:19



    Join date : 2008-09-18      Posts : 3226

    I am viewing, right now, my 'display cart page' on my mobile, this page uses the nocart syntax.

    Adding an item to the cart shows me the popup window and returns my seamlessly to the original page.

    From there I can click the 'checkout' link and go to Mal's.

    The URL in my mobile is:

    <form action=""; method="post">
    <p>Product One 5.99
    <input type="hidden" name="userid" value="E9120065" />
    <input type="hidden" name="thumb" value="logo.png" />
    <input type="hidden" name="product" value="Product One" />
    <input type="hidden" name="price" value="5.99" />
    <input type="hidden" name="qty" value="1" />
    <input type="hidden" name="nocart" value="1" />
    <input type="hidden" name="return" value=""; />
    <input class="rounded" type="submit" value="Add to Mal's Forms cart" onclick="alert('Order has been added to your cart\n\nThis page will refresh');" onkeypress="alert('Order has been added to your cart\n\nThis page will refresh');" />

    Notice my mobile phone has been identified as such and has been redirected to my mobi directory. This page is different in layout to the normal page.

    I see in my mobile, the layout that I have built specifically for the mobile page from:

    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 2012 08:55:32



    Join date : 2008-09-18      Posts : 137

    Thanks Graham

    I have noticed on your code that you are not actually using the mobile cart

    I have this line <form action="";; method="post">

    and you have this one <form action="";; method="post">

    When I click checkout on that page you gave from my mobile it takes me to the normal website cart and not the mobile cart.

    Hope that makes sense what I posted.

    Here is the link where I got my info about the mobile cart from

    Nov 14 2012 09:02:31



    Join date : 2008-09-18      Posts : 137

    I have taken your advise Debbie and emailed Mal and here is his answer he gave me. S0 I'm not going mad after all this had been driving me nuts.
    Thanks GT for you assistance as well I value all you guys (and girls) do in here to help out. It's much appreciated thanks

    Answer from Mal:

    Hi Graham,

    No, it is not supported in the mobile cart script. You should use the standard cart URL if you don't want to display the cart.


    Mal Stewart