Kryptronic Software Support Forum

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.

#1 10-31-2003 15:45:40

carolsim
Member
Registered: 08-02-2003
Posts: 37

Add To Cart Not Working

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

 

#2 10-31-2003 20:19:53

Uncletim
Member
From: Boulder, CO
Registered: 08-03-2003
Posts: 375
Website

Re: Add To Cart Not Working

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

 

#3 10-31-2003 20:54:41

carolsim
Member
Registered: 08-02-2003
Posts: 37

Re: Add To Cart Not Working

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

 

#4 10-31-2003 23:34:35

WayneK
Member
Registered: 08-17-2003
Posts: 256
Website

Re: Add To Cart Not Working

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.


- Wayne
<-- Witty Clever Phrase Goes Here -->

Offline

 

#5 11-01-2003 01:57:16

carolsim
Member
Registered: 08-02-2003
Posts: 37

Re: Add To Cart Not Working

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

 

Board footer