close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Options (size, e.g.) on static item?

Thread began 7/08/2009 11:14 am by Peterson Design Studio - jefferis | Last modified 7/09/2009 11:28 am by Peterson Design Studio - jefferis | 3654 views | 9 replies

Peterson Design Studio - jefferis

Okay, I'm missing a step here somewhere...
To the Add to Cart code in the header, I changed ATC item name to this:
$ATC_itemName = "SS WCH Pendant with Birthstone". $_POST['Birthstone'] ."";// column binding

In the Add to cart form on the same page, I added a jump menu:

  <form name="LhunterCart_4_ATC_SS WCH_Birthstone" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<select name="Birthstone" id="Birthstone" onchange="MM_jumpMenu('parent',this,0)">
<option>Amethyst</option>
<option>Blue Topaz</option>
<option>Citrine</option>
<option>Garnet</option>
<option>Peridot</option>
</select>
<input type="hidden" name="LhunterCart_4_ID_Add" value="SS WCH <?php echo($_POST['Birthstone']); ?>" />
<input type="text" name="LhunterCart_4_Quantity_Add" value="1" size="4" >
<input type="submit" value="Add to Cart" name="LhunterCart_4_ATC">
</form>  



And to the cart.php page I added

  <p class="eC_ItemLabel"><?php echo $LhunterCart->DisplayInfo("Name"); ?><?php echo($_POST['Birthstone']); ?></p>  



But the values are not transmitting to the name field on the cart page.

What am I missing?
Thanks
Jeff

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...