YooperCandles Posted July 24, 2005 Share Posted July 24, 2005 I am currently adding a shopping cart to my tripod (lycos) website using mals e-commerce. I have figured out how to do a link for one item, but I would like a drop-down with my scents.For example: Here is what is says to do -<FORM METHOD="POST" ACTION="http://www.aitsafe.com/cf/add.cfm"><INPUT TYPE="HIDDEN" NAME="userid" VALUE="gg12345"><INPUT TYPE="HIDDEN" NAME="product" VALUE="North Atlantic Marine Chart"><INPUT TYPE="HIDDEN" NAME="price" VALUE="29.50"><INPUT TYPE="SUBMIT"> </FORM>I dont understand exactly what I am supposed to type to make the link. My product will be a 3-Pack of Votives for $3.00. I know my username also, but dont know what to do with this as a whole.It said to cut and paste the link I made with the button maker through mals ecommerce, but when I did cut and paste I got an error message.Can someone help me PLEASE!TIA for all help! -Pam Quote Link to comment Share on other sites More sharing options...
Indescent Posted July 24, 2005 Share Posted July 24, 2005 Taking a stab at this, but copy this and see if it works:<FORM METHOD="POST" ACTION="http://www.aitsafe.com/cf/add.cfm"><INPUT TYPE="HIDDEN" NAME="userid" VALUE="gg12345"><INPUT TYPE="HIDDEN" NAME="product" VALUE="3-pack Votives"><INPUT TYPE="HIDDEN" NAME="price" VALUE="3.00"><INPUT TYPE="SUBMIT"> </FORM> Quote Link to comment Share on other sites More sharing options...
7Angela7 Posted July 24, 2005 Share Posted July 24, 2005 1. The form method should be where your shopping cart is set up at, for instance, mine is 9.2. Enter your userid given to you by mals.3. Units would be your price.4. Product would be, well product<form method="post" action="http://ww9.aitsafe.com/cf/add.cfm"> <input type="hidden" name="userid" value="A123456"> <input type="hidden" name="units" value="3"> <input type="hidden" name="product[]" value="3-pack Votives">Robin has a great tutorial that should help mals tutorial (I hope it's okay that I posted this). Quote Link to comment Share on other sites More sharing options...
YooperCandles Posted July 24, 2005 Author Share Posted July 24, 2005 Thank you for posting and for Robin for making the tutorial......gonna give it a try. Thanks for replys.Pamhttp://scentimentalgifts.tripod.com Quote Link to comment Share on other sites More sharing options...
YooperCandles Posted July 24, 2005 Author Share Posted July 24, 2005 I now understand most of adding drop-down menus to my shopping cart, but dont understand how to put the scents in. I know they are in 7-12, but how do I insert them so they show as a list? I am so confused.Thank you for all the previous help and any additional help.Pam01: 02: [form method=POST" action="http://wwX.aitsafe.com/cf/add.cfm]03: [input type=hidden" name="userid" value="1234567]04: [input type=hidden" name="return" value="www.yoursite.com/pagename.html]05: [input type="hidden" name="product[]" value="description of product"]06: [select name="product[]"]07: [option value=desc to cart]desc on page[/option]08: [option value=desc to cart]desc on page[/option]09: [option value=desc to cart]desc on page[/option]10: :11: :12: [option value=desc to cart]desc on page[/option]13: [/select]14: [input type=text" name="qty" value="0" size="3" maxlength="3]15: [input type=hidden" name="price" value="7.50]16: [input type=hidden" name="units" value="1.5]17: [input type=submit" name="add" value="Buy]18: [/form] Quote Link to comment Share on other sites More sharing options...
Tara Posted July 24, 2005 Share Posted July 24, 2005 Here's a sample of the code I use for my 5oz Jars<form action="http://ww9.aitsafe.com/cf/add.cfm" method="post"><div><input type="hidden" value="B926745" name="userid"> <input type="hidden" value="www.tarascandlecottage.com/jarcandles.htm" name="return"> <input type="hidden" value="5 oz Sampler Jar" name="product[]"> <input type="hidden" value="4.95" name="price"> <select name="product[]"> <option value="Select Scent" selected="selected">Select Scent</option> <option value="Angel Kisses">Angel Kisses</option> <option value="Apple Cinnamon">Apple Cinnamon</option> <option value="Bayberry">Bayberry</option> <option value="Blueberry Cobbler">Blueberry Cobbler</option> <option value="Candy Cane">Candy Cane</option> <option value="Cherry">Cherry</option> <option value="Christmas Spice">Christmas Spice</option> <option value="Christmas Splendor">Christmas Splendor</option> <option value="Cinnamon Buns">Cinnamon Buns</option> <option value="Cinnamon Sticks">Cinnamon Sticks</option> <option value="Crisp Cotton">Crisp Cotton</option> <option value="Cotton Candy">Cotton Candy</option> <option value="CocoMango">CocoMango</option> <option value="Country Clothesline">Country Clothesline</option> <option value="Cucumber Melon">Cucumber Melon</option> <option value="Desire">Desire</option> <option value="Enchanted Love">Enchanted Love</option> <option value="Gardenia">Gardenia</option> <option value="Gingerbread">Gingerbread</option> <option value="Huckleberry">Huckleberry</option> <option value="Jamaica Me Crazy">Jamaica Me Crazy</option> <option value="Jasmine">Jasmine</option> <option value="Jingleberry">Jingleberry</option> <option value="Jolly Rancher">Jolly Rancher</option> <option value="Juniper Breezes">Juniper Breezes</option> <option value="Key Lime Pie">Key Lime Pie</option> <option value="Lavender">Lavender</option> <option value="Mango Papaya">Mango Papaya</option> <option value="Malibu Beach">Malibu Beach</option> <option value="Midnight">Midnight</option> <option value="Mulberry">Mulberry</option> <option value="Passionate Kisses">Passionate Kisses</option> <option value="Pink Sugar">Pink Sugar</option> <option value="Plumeria">Plumeria</option> <option value="Pumpkin Spice">Pumpkin Spice</option> <option value="Spiced Cranberry">Spiced Cranberry</option> <option value="Strawberry">Strawberry</option> <option value="Sun-Ripened Raspberry">Sun-Ripened Raspberry</option> <option value="Sweet Pea Blossom">Sweet Pea Blossom</option> <option value="Vanilla Silk">Vanilla Silk</option> <option value="Warm Romance">Warm Romance</option> <option value="Warm Vanilla & Sugar">Warm Vanilla & Sugar</option> <option value="Waterfall">Waterfall</option> <option value="Water Blossom Ivy">Water Blossom Ivy</option> <option value="Wild Watermelon">Wild Watermelon</option></select></div><div><br><input type="submit" value="Add to Cart" name="SUBMIT"></div></form>HTH Quote Link to comment Share on other sites More sharing options...
7Angela7 Posted July 24, 2005 Share Posted July 24, 2005 Pam, I just went to your site, and looked at the votives you are trying to add. The problem I'm seeing is that when you click on "3-pack votives~$3.00" instead of it being a link to another page (which it looks like), you made that your shopping cart button. If you are trying to have your drop down menus below that, you should make the headings only be text, not links to the shopping cart. Add in the code, like Tara has provided, underneath your headings. That should give you the heading, then the drop down, customers can select the scent and submit, and it should add it to your cart which will look something like, "3-pack votives, Strawberry."In the tutorial, it may show as lines 7-9, but you just keep adding them as you have more. As you can see, Tara offers many scents, she just kept continuing on and changing the scents. I hope that made sense and it helps. Good luck! Quote Link to comment Share on other sites More sharing options...
YooperCandles Posted July 25, 2005 Author Share Posted July 25, 2005 Well, with all your help and many frustrating hours of tinkering, I got the dropdown menus to work. Woooooohoooooo! Thank You Thank You!!Now I have a new obstacle........lolI offer my jar candles at a discount if they buy 3 at a time, but they dont have to be the same scent. How do I add that onto the website.BTW, it was tara's post that i copied and pasted into HTML and just changed the info to mine!Thanks again for your help in the past, and I hope you will be able to help with this problem!Pamhttp://scentimentalgifts.tripod.com Quote Link to comment Share on other sites More sharing options...
Tara Posted July 25, 2005 Share Posted July 25, 2005 I am glad I can help ya To offer 3 for a certain price you would just need to have 3 scent drop down boxesyou could use this code <form action="http://ww9.aitsafe.com/cf/add.cfm" method="post"><input type="hidden" value="B123145" name="userid"> <input type="hidden" value="www.tarascandlecottage.com/layered_candles.html" name="return"> <input type="hidden" value="Buy 3or whatever you want to name this item" name="product[]"> <input type="hidden" value="19.95" name="price"><select name="product[]"> <option value="Select Scent" selected="selected">Select Scent #1</option> <option value="Select Scent">Select Scent</option> <option value="Angel Kisses">Angel Kisses</option> <option value="Apple Cinnamon">Apple Cinnamon</optionList all the scents for scent one then end it with </select>Then do<option value="Select Scent" selected="selected">Select Scent#2</option> <option value="Select Scent">Select Scent</option> <option value="Angel Kisses">Angel Kisses</option> <option value="Apple Cinnamon">Apple Cinnamon</option> Again list all your scents end with </select>Then do same for sent 3 and end it all with<input type="submit" value="Add to Cart" name="SUBMIT"></form>That's how I do my layered candles so I would think it would work for what you are needingLet me know how you make out Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.