Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Member #
    39857

    HTML Shopping cart

    Good afternoon,
    I'm hoping someone might be able to help me out here.
    I'm using a free shopping cart (fatfreecart) and i'm trying to modify the html (with very limited ability) to cater to me needs.

    Basically i want the user to be able to choose as many t-shirts in different sizes as they need. Once they've chosen how many of each size they need they simply click add to cart and all the t-shirts will be added.
    So If i wanted 2 small, 1 medium i would choose that from the quantity drop-downs (if i could just type the amount that would be even better) and then click add to cart and all 3 t-shirts (2 small and 1 medium) will be added.

    I came across the answer yesterday by accident and then made some more small changes and broke it! I'm very close to giving up so if someone could help me i would be very grateful!

    He's a sample of the cart: Escape committee

    and here's my current code:
    <!--
    FatFreeCart.com AddToCart Snippet
    @version: 0.1
    @date: 07/30/2007
    @author: Ropu (rovagnati at gmail)
    //-->
    <table cellspacing="2" cellpadding="2" bgcolor="transparent" style="border: thin solid rgb(255,255,255);font-family: Verdana; font-size: 11px; color: rgb(255, 255, 255);">
    <tr align="center">
    <th bgcolor="#004AFF" style="color: rgb(255, 255, 255);">Hen/Stag</th>
    </tr>
    <tr>
    <td align="center">
    <!-- ADD TO CART button code. -->
    <form target="ej_ejc" action="https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=1" method="post">
    <div style="background:#004AFF">
    Type
    <input type="hidden" name="on0" value="Type"/>
    <select name="os0" style="width:97%">
    <option value="Mens Round Neck">Mens Round Neck</option>
    <option value="Womens V-Neck"> Womens V-Neck</option>
    </select>
    </div>
    <div style="background:#004AFF">
    Size
    <select name="os1" style="width:97%">
    <option value="Small">Small</option>
    </select name="on1" style="width:97%">
    <div style="background:#004AFF">
    <select name="quantity">
    <option value="0">0</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    </select><br/>
    </select>
    <form target="ej_ejc" action="https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=2" method="post">
    <div style="background:#004AFF">
    <div>
    Size
    <select name="os2" style="width:97%">
    <option value="Medium">Medium</option>
    </select name="on2" style="width:97%">
    <div style="background:#004AFF">
    <select name="quantity">
    <option value="0">0</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    </select><br/>
    </div>


    <!-- paypal email(remove if not using PayPal) -->
    <input type="hidden" name="business" value="sales@teesmedesigns.co.uk"/>
    <!-- site url -->
    <input type="hidden" name="site_url" value="http://www.teesmedesigns.co.uk"/>
    <!-- contact email (where we can notify of the updates) -->
    <input type="hidden" name="contact_email" value="sales@teesmedesigns.co.uk"/>
    <!-- you thank you page -->
    <input type="hidden" name="return_url" value="http://www.teesmedesigns.co.uk/thank_you.html"/>
    <!-- any custom info you want to pass -->
    <input type="hidden" name="custom" value=""/>
    <!-- currency (USD for Google Checkout USA, GBP for Google Checkout UK. For PayPal: any currency that PayPal supports -->
    <input type="hidden" name="currency_code" value="GBP"/>
    <!-- shipping cost -->
    <input type="hidden" name="shipping" value="0.00"/>
    <!-- shipping cost of each additional unit -->
    <input type="hidden" name="shipping2" value="0.00"/>
    <!--handling cost -->
    <input type="hidden" name="handling" value="0.00"/>
    <!-- tax (flat amount, NOT percentage)-->
    <input type="hidden" name="tax" value="0"/>
    <!-- item name -->
    <input type="hidden" name="item_name" value="Hen/Stag"/>
    <!-- item number (should be different for each product)-->
    <input type="hidden" name="item_number" value="000001"/>
    <!-- item price -->
    <input type="hidden" name="amount" value="9.99"/>
    <!-- initial quantity -->
    <input type="hidden" name="quantity" value=""/>
    <!-- item options (can be removed if not required) -->
    <input type="image" src="http://www.teesmedesigns.co.uk//images/Buy-Cart-Blue.png" border="0" alt="Add to Cart" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this.parentNode);"/>
    </form>
    </tr>
    </table>


    Kind regards
    Stuart

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:15 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com