Community Forums 

Main Content

simple T-Shirt shop

    Sep 13 2008 10:36:04

    #1

    Em31

    Join date : 2008-09-18      Posts : 2

    Hi,

    I'm afraid I'm a complete duffer when it comes to coding but am trying to set up a simple t-shirt shop.

    I would like to have next to each product a 3 column table that has...

    Small (box for quantity) Buy Now
    Medium (box for quantity) Buy Now
    Large (box for quantity) Buy Now

    Can someone please give me a hand?

    Thanks
    Em :)



    Sep 13 2008 16:33:38

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4998

    Of course you need to fill in all your own info.

    <table>
    <tr>
    <td><FORM METHOD="POST" ACTION="http://wwX.aitsafe.com/cf/add.cfm">;
    <INPUT TYPE="HIDDEN" NAME="userid" VALUE="123456">
    <INPUT TYPE="HIDDEN" NAME="return" VALUE="www.yoursite.com">;
    <INPUT TYPE="HIDDEN" NAME="product[]" VALUE="Small product name">
    <INPUT TYPE="HIDDEN" NAME="price" VALUE="10.00">
    <INPUT TYPE="HIDDEN" NAME="units" VALUE="1">
    Small <input type="text" size="3" name="qty"> <input type="submit" name="B1" value="Buy Now"></form></td>
    <td><FORM METHOD="POST" ACTION="http://wwX.aitsafe.com/cf/add.cfm">;
    <INPUT TYPE="HIDDEN" NAME="userid" VALUE="123456">
    <INPUT TYPE="HIDDEN" NAME="return" VALUE="www.yoursite.com">;
    <INPUT TYPE="HIDDEN" NAME="product[]" VALUE="Medium product name">
    <INPUT TYPE="HIDDEN" NAME="price" VALUE="15.00">
    <INPUT TYPE="HIDDEN" NAME="units" VALUE="1">
    Medium <input type="text" size="3" name="qty"> <input type="submit" name="B1" value="Buy Now"></form></td>
    <td><FORM METHOD="POST" ACTION="http://wwX.aitsafe.com/cf/add.cfm">;
    <INPUT TYPE="HIDDEN" NAME="userid" VALUE="123456">
    <INPUT TYPE="HIDDEN" NAME="return" VALUE="www.yoursite.com">;
    <INPUT TYPE="HIDDEN" NAME="product[]" VALUE="Large product name">
    <INPUT TYPE="HIDDEN" NAME="price" VALUE="20.00">
    <INPUT TYPE="HIDDEN" NAME="units" VALUE="1">
    Large <input type="text" size="3" name="qty"> <input type="submit" name="B1" value="Buy Now"></form></td>
    </tr>
    </table>

    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.




    Sep 15 2008 08:13:39

    #3

    Em31

    Join date : 2008-09-18      Posts : 2

    Brilliant, thanks Debbie :)