close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add to Cart button

Thread began 6/15/2012 1:44 pm by barkmail439219 | Last modified 6/18/2012 2:04 pm by Jason Byrnes | 822 views | 5 replies |

barkmail439219

Add to Cart button

adding a cart to a web page. It is the only cart on the page and the only cart listed in the server behaviors.

select where I want the page to redirect to.

Changed the color of the add to cart button.

Save and put.

Button is old color and didn't change.

Selected add to cart button and the screen is not redirected - stays on same page.

what's going on?

Tags_RD.php

Sign in to reply to this post

Jason ByrnesWebAssist

I would suspect that the upload to the server did not work.

Sometimes Dreamweaver is not very reliable when uploading changes to the server.

To ensure that your changes are being uploaded properly, make a visual change to the page like adding todays date to the title.


If you continue to have a problem, send a copy of the page and a description of what button design type you are trying to use.

Sign in to reply to this post

barkmail439219

OK.
Renaming didn't help.
I copied all files that I could think of for you to look at. The page file is Tags_RD.php.

The add to cart button on any page is not redirecting. It stays on same page.

I have included my shopping cart page as well for you to be able to look at....

Attached Files
webassist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the code for the add to cart button form action is not correct.

change:

php:
<form name="Nitrodog_1_ATC_90088" method="POST"  action="<?php echo $_SERVER["file:///C|/Users/L. Ofiana/Adobe Dreamweaver CS5.5/ecart/PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""?>">




to:

php:
<form name="Nitrodog_1_ATC_90088" method="POST"  action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""?>">
Sign in to reply to this post

barkmail439219

Thank you Jason

So do I open any file with an ecart object, select an add to cart button, go down to properties and select form, find the code and paste in the new selection?
I did this for the 2 add to cart buttons on the webpage and it still is not directing to go to the shopping cart.
I also pasted it into the checkout button code. Now that button redirects to the index page!

If not, what would be the steps I should take?

Every add to cart button is not working, even on newly constructed pages. Will this fix the root cause?

Also, what do you think happened to make this change in the first place so I can avoid doing so in the future?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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