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

add to cart not working

Thread began 10/07/2011 1:50 pm by jjohnston429131 | Last modified 10/13/2011 2:06 pm by Jason Byrnes | 801 views | 6 replies |

jjohnston429131

add to cart not working

I have set up my page so that when the button "checkout" for the checkout page (renamed registration_template) is pressed it adds the item to the cart and proceeds to the confirm page. It works fine when I am in Dreamweaver utlizing the "Live View" but when I do it online it just keeps going back to the registration_template page. Please help.

Sign in to reply to this post

Jason ByrnesWebAssist

make sure the servers session management is functioning correctly:
showpost.php?p=23826&postcount=2



if you still have a problem, send a copy of your page and a link where i can see the problem.

Sign in to reply to this post

jjohnston429131

it failed .... I will contact my host to fix .... thanks

Sign in to reply to this post

jjohnston429131

host says everything is fine on their end

Hi .... Host (GoDaddy) says that everything is fine on their end so i don't know what I am doing wrong.

registration_template.php

Attached Files
confirm.zip
registration_template.zip
Sign in to reply to this post

Jason ByrnesWebAssist

there are a couple problems here.

the big confusion, i think is work flow.

you cant add the item to the cart on the same page that you collect billing information


the flow of the site should be:

Add item to the cart by clicking the add to cart button.
show cart contents on a cart display page.
The cart display page has a link to the checkout page where the user enters billing information.

the way you have the page configured wont work, because the checkout button posts to the confirm page, this bypasses the add to cart code that you have on the checkout page.

Sign in to reply to this post

jjohnston429131

So is it possible to collect billing information first and then proceed directly to checkout page which links to them to PayPal and adds to cart at the same time? My boss does not want that many steps in the process - he only wants three.


Page 1: billing information
Page 2: add to cart and checkout
Page 3: PayPal

Sign in to reply to this post

Jason ByrnesWebAssist

no, the add to cart step needs to be it's own step.

page that passes to paypal needs to make a post to paypals servers.

the page that adds the items to thew cart, needs to make a form post to itself.

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