close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Undefined variable: ATC_itemQuantity

Thread began 8/19/2011 8:45 am by Base5 Designs | Last modified 8/30/2011 8:01 am by Base5 Designs | 3422 views | 5 replies

Jason ByrnesWebAssist

It's adding multiple items because the add to cart code is inside the loop for the rs_drinkcat recordsset. Since the code is inside that recordset loop, it will be repeated for each record in the rs_drinkcat recordset.



You could have the add to cart behavior code on the indix page and reyuse the add to cart button code on your page.


as long as the hidden element for the ID:
<input type="hidden" name="eCart1_1_ID_Add" value="<?php echo $row_rs_products["id_prd"]; ?>" >

is passing the correct ID for the product that should be added to the cart from that any particular widget page, it will work fine.

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...