close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Shopping cart display problems

Thread began 11/25/2011 2:56 pm by elewis93815 | Last modified 11/29/2011 10:30 pm by elewis93815 | 791 views | 4 replies |

elewis93815

Shopping cart display problems

He have created a store with 11 products. All are in place, all have add to cart buttons. The problem is, when we purchase items all do not go into the cart (order_display.php). In testing we discovered that the first two items we add will go through fine, however, when we attempt to add a third or more, the item will add (only in quantity) to the 2nd item purchased but will not create a third line item.

I have attached all relative files. Any assistance is greatly appreciated.

Jackie

Attached Files
WA SML STORE.zip
Sign in to reply to this post

Jason ByrnesWebAssist

please send a link where i can see the problem.

Sign in to reply to this post

elewis93815

Originally Said By: Jason Byrnes
  please send a link where i can see the problem.  



This is the link: shop.php

Sign in to reply to this post

Jason ByrnesWebAssist

the ID for each item is the same.


the cart usses the ID as a unique identifier.

on the shop page, next to the quantity text box for each add to cart button is the hidden form element that passes the id.

select each one of those hidden form elements and set the initial value to the ID for that products.

you can use the recordset column since you do not have a repeat region. you are creating static add to cart buttons, so will need to set the ID statically.

Sign in to reply to this post

elewis93815

Thank You Jason! We followed your instructions and it works great!

Thanks again!

Sign in to reply to this post

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