You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
The Add to Cart function is not working on my product detail pages. It works fine on the category pages that display the summaries of the product descriptions.
The site is at
Any ideas. We were supposed to launch the site today, but then this problem came up.
Thanks,
Bob S.
Offline
Hey Bob:
generally I don't answer questions, but I have been through this a little. Maybe I can give you the standard answer until Nick gets to you.
In the global program settings, there is a place to specify where your cookie location is. Make sure you have a good path. Mine is /cgi-bin/ccp51
Also make sure you have your domain in the "Cookie Domain Setting" which is right next to it.
There are multiple posts on this topic as it is one of the most common problems encountered. I suggest you search on "shopping cart" or something like that and see what comes up.
In fact I am encountering this right now only I think I have a corrupt ste_cart file. You can see my thread below yours.
We shall see. Nick will probably figure it out.
Good luck.
Uncletim
Offline
Hello: I checked the cookie path and the domain. They look ok. It's really odd how the cart works on the category display but not on the product detail display. I've gone over the code a number of times so I must be missing something obvious here.
Thanks,
Bob S.
Offline
If you examine the web page source code you will find you are missing the begining form tag and hidden fields for the product display.
check ste_prdlg_default.txt ste_prdlg_center.txt ste_prdlg_noimg.txt and make sure they have
<form method="post" action="(CGIVAR)common_url_form(/CGIVAR)">
(CGIVAR)common_hidden_fields(/CGIVAR)
<input type="HIDDEN" name="pg" VALUE="ste_cart_add_proc">
<input type="HIDDEN" name="ref" VALUE="(CGIVAR)product_id(/CGIVAR)">
<input type="HIDDEN" name="cat" VALUE="(CGIVAR)category_id(/CGIVAR)">
<input type="HIDDEN" name="catstr" VALUE="(CGIVAR)catstring(/CGIVAR)">
<input type="HIDDEN" name="orig_pg" VALUE="(CGIVAR)fd_pg(/CGIVAR)">
as the first lines.
Offline
Hello Wayne: Bingo! It worked.
I knew that I was missing a <form> tag somewhere but couldn't figure out where and what info needed to be entered with it.
Thanks a million,
Bob S.
Offline