943,740 Members | Top Members by Rank

Ad:
Jul 23rd, 2009
0

Help with add to cart button not redirecting properly

Expand Post »
I have a web site that I built using HTML and CSS.
I uploaded the site to the server and it works great except for the add to cart button.
I took the site down and put the old one back up because the shopping cart is not working.

The view cart and add to cart button both work locally. But once its uploaded the add to cart button does not work properly.
The add to cart button adds the item to the cart but does not redirect you to the shopping cart like it should. It just reloads the current page that you are on. The link for the view cart and shopping cart are the same. How do I fix this? Ive tried changing the link. Using href instead of a form..
Or a way to pop up a message saying that the item was added click here to continue to checkout or continue shopping?

Thank You,
Kaylar
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kaylar is offline Offline
7 posts
since Jul 2009
Jul 23rd, 2009
0

Re: Help with add to cart button not redirecting properly

Hard to figure out unless I can see the code.
Reputation Points: 12
Solved Threads: 3
Newbie Poster
Siersema is offline Offline
6 posts
since Feb 2009
Jul 23rd, 2009
0

Re: Help with add to cart button not redirecting properly

This the add to cart button

<form name='cartadd' method='post' action='http://store.dreambirthday.net/servlet/Cart'>
<input type='hidden' name="smode" value="add" />
<input type="hidden" name="product_no" value="2610" />
<p>
<input type="submit" value="Add To Cart"  style="width: 100px; height: 23px; border-style:outset;border-color:fuchsia"  /></p>
</form>

This is the view cart button
<form name='viewcart' method='post' action='http://store.dreambirthday.net/servlet/Cart'>
<p>
<input type="submit" value="View Cart"  style="width: 100px; height: 23px; border-style:outset;border-color:fuchsia"  /></p>
</form>
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kaylar is offline Offline
7 posts
since Jul 2009
Jul 23rd, 2009
0

Re: Help with add to cart button not redirecting properly

The problem then would be in the configuration file for the store.
Reputation Points: 12
Solved Threads: 3
Newbie Poster
Siersema is offline Offline
6 posts
since Feb 2009
Jul 24th, 2009
0

Re: Help with add to cart button not redirecting properly

Ok. I can get to the config folder through FTP.. The only thing that is in that folder is a file called ipaddr. The only thing in that file is the an ip address. How do I go about fixing the configuration of the store.

The store is hosted on Valueweb/ Hostway. They use a store called WebStores.
Thanks
Kaylar
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kaylar is offline Offline
7 posts
since Jul 2009
Jul 27th, 2009
0

Re: Help with add to cart button not redirecting properly

Any ideas on how to fix it? Anyone?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kaylar is offline Offline
7 posts
since Jul 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: web base application design
Next Thread in Site Layout and Usability Forum Timeline: Design Must Be Unique...What Say.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC