close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add To Cart Button

Thread began 7/05/2011 5:12 pm by admin394099 | Last modified 7/06/2011 1:50 pm by Jason Byrnes | 1381 views | 10 replies |

admin394099

Add To Cart Button

I must be missing a peice of information....Why is that when I go throught the steps required for adding a Dynamic Add To Cart Button, as specified in the getting started guide, I am not given a choice to select the particular product I want, for instance In Steps 12-20 I go through the process of binding the columns in the Bindings Tab to the Columns of the recordset I defined for the page. When I do this & test the buy button on my page - the item which winds up in the cart is always the first item I have listed in my database - At what point do I tell the Add To Cart Button that I want the product with a certain ID such as cmc-0203 or ttlm-09x06?

Sign in to reply to this post

Jason ByrnesWebAssist

your add to cart button should be in a repeat region to create a button for each record returned from the recordset.

Sign in to reply to this post

admin394099

Pardon me, I do not see that explained in either the help menu or the getting started guide. could you please elaborate on that step.

Sign in to reply to this post

Jason ByrnesWebAssist

before starting with eCart and adding the add to cart buttons, you need to have set up the stores catalog.

the catalog displays the items that are available for sale on your site.

this is the note at the top of the eCart getting started guide:

  NOTE: eCart does not create your complete online store. It only creates the shopping cart and checkout functionality that must be applied to your website, in order for customers to make purchases, and for your website to process credit card details. You should probably have already set up your product catalog, or the page that you will use to advertise your products.

For more information on creating a product catalog, see the DataAssist Getting Started Guide  
Sign in to reply to this post

admin394099

I'm sorry, I'm very confused, I am not currently using DataAssist to create the site, I created web pages & all navigation pages for my products using dreamweaver, In terms of setting up my product catalog I am using the PHP my admin to enter in all the neccasry Product Information...All i want to do is drop a simple buy now button on a standard dreamweaver generated page. I am unclear why DataAssist is needed....I must admit, I am getting frustrated & lost in all of the steps...

Sign in to reply to this post

Jason ByrnesWebAssist

  All i want to do is drop a simple buy now button on a standard dreamweaver generated page.  




but that is not what you are asking about, you are asking about adding an Add to cart from recordset button, and why it only adds the first item.

  In terms of setting up my product catalog I am using the PHP my admin to enter in all the neccasry Product Information.  



My reference to your catalog is not terms of how you are entering it, but rather how you are displaying it.

when using a database driven catalog, you generally have a a search page, a results page that displays a collection of records from your products table and detail page that displays a singlle product.

you can add the eCart add to cart button to the results page or the detail page.

you can create these pages manually in Dreamweaver, or you can use DataAssist to create them.


for details on creating this in Dreamweaver see the following pages from the DW Help:
help.html?content=WScbb6b82af5544594822510a94ae8d65-78aa.html

help.html?content=WScbb6b82af5544594822510a94ae8d65-78aa.html

Sign in to reply to this post

admin394099

To clarify & hopefully simplify, I am simply asking when I am trying to drop an Ecart Add To Cart Button on a page that I created myself, how do i specify which product I'm refering to?

Sign in to reply to this post

admin394099

also, I note, all navigation on the site happens with links I created my self, there is really nothing too Dynamic about these pages, they are all bassically simple HTML style pages that people use to navigate with links I created myself, the only aspect of the database that I interact with is for adding the Buy functionality, not any of the navigation at all...these pages are all created already, not dynamic at all.

Sign in to reply to this post

Jason ByrnesWebAssist

you need to filter the recordset to return the product for that page.


the problem you are having is that you are using a database for the add to cart button, but the pages are static.

normally the pages would be dynamic and the navigation would filter the recordset by passing the product ID as a querystring variable.



since your pages are static, you need to filter the recordset on the page so that it returns the correct record.

Sign in to reply to this post

admin394099

can you point me to the directions for how to do that in ecart? I don't see any instructions for filtering a recordet in the getting started guide.

Sign in to reply to this post
loading

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