Community Forums 

Main Content

Re:A shopping cart setup that will not advance on "add to cart"

    Oct 19 2017 16:35:48



    Join date : 2008-09-18      Posts : 2973

    You don't show your DOCTYPE or the end of the form but the following worked for me, apart from the validator objecting to font/color/face/size with this doctype. It might just have been the textarea not being closed.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">;
    <html xmlns=""; xml:lang="en" lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
    <title>Key in all values</title>
    <!--- used when responding to a post by bacchus 19/10/2017 -->
    <body><form action=""; method="post">
    <input type="hidden" name="userid" value="A1306923" />
    <input type="hidden" name="scode1" value="8537" />
    <input type="hidden" name="product1[]" value="Indoor/Outdoor Wine Glass, Acrylic, 8 oz., One Color Imprint" />
    <input type="hidden" name="discountpr1" value ="71,x.xx:72,3.75:456,3.50:0,2.75 " />
    <input type="hidden" name="return" value=""; />;
    <input type="hidden" name="units1" value=".40" />

    <font face="arial, Helvetica, Sans-Serif" size="+0" color="#168F2E">
    <b>One Color Imprint</b></font>: <br />
    <font color="#000000">Please check box for One Time Die Set Up Charge<br />
    <b>Check the box </b>: $40.00</font>
    <input type="hidden" name="product3" value="One Time Die Set Up Charge One Color Imprint" />
    <input type="hidden" name="price3" value="40.00" />
    <input type="checkbox" name="qty3" value="1" />
    <br />
    Logo artwork file instructions: Send artwork file as .eps or .ai file, original artwork, black and white only.<br />
    <a href="mailto: Artwork <> "><font color="#800000">** Click here to attach and e-mail your logo artwork file</font></a> <br />
    <br />
    <font face="arial, Helvetica, Sans-Serif" size="+0" color="#333333">
    <b>ONE COLOR IMPRINT</b><br /> $3.75 each to $2.75 each with quantity discounts <br />
    72 to 143 glasses One Color Imprint - $3.75 each<br />
    144 to 599 glasses One Color Imprint - $3.50 <br />
    600 or more glasses One Color Imprint - $2.75<br />
    <p><font face="arial, Helvetica, Sans-Serif" size="+0" color="#168F2E"><b>Enter Quantity One Color Imprint - Minimum is 72 Glasses: </b>
    <input type="text" name="qty1" size="5" /><br />
    <br />
    <b>For ONE COLOR Text Imprinting:<br /> Enter your text, color and font name here</b>
    <br /><a href="/corklso.html"><font color="#000000">** Click here to view Pantone Color Chart to aid in color selection </font></a>
    <br /><a href="/imprintfont.html"><font color="#000000">** Click here to view font suggestions page</font></a>
    <br />If multiple lines, enter as Line 1: Line 2:, etc.
    <br />If you are using a logo, send us your logo artwork: <br />
    <a href="mailto: Artwork <> "><font color="#800000">** Click here to attach and e-mail your logo artwork file</font></a> <br />
    <textarea name="product1[]" rows="3" cols="60">
    <input type="submit" value="Add to cart" />

    Remember to remove the semicolons that creep in when posting here.

    Some shipping help documents are available at