SilverCart Forum
We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?
You can help us helping you by providing detailed error messages, screenshots and logfile entries.
Page: 1 , 2 , 3 | ||
Topic "Add to Cart" function not working from the detailed product page | 9780 Views |
Re: "Add to Cart" function not working from the detailed product page
22 July 2011 at 5:05pmHi,
I registered as a customer, then logged in as the customer, and the problem persists. (I am not logged in as an admin).
This is a testsite before uploading to the real server- get the theme looking right etc., so it is shared hosting, and also an addon domain. might that be the problem?
thanks,
Re: "Add to Cart" function not working from the detailed product page
22 July 2011 at 5:10pmHi bit99,
can you determine if this registered customer has a SilvercartShoppingCartID set in the database table member? It must not be zero.
Re: "Add to Cart" function not working from the detailed product page
22 July 2011 at 5:30pmHi,
looking at the "customer" tab, this customer has a "customer number of 100002" .
on a side note,
when looking at the security tab, I noticed that each time I am an anonymous shopper I get added to the security tab, as a "type" "anonymous shopper" (with no privilegies).
I deleted those entries. this would create a long list if you get a bunch of visitors to a website?
thanks,
Re: "Add to Cart" function not working from the detailed product page
22 July 2011 at 5:36pm Last edited: 22 July 2011 5:36pmAnonymous shoppers have to be deleted every now and then if their number gets too big. This must be done by hand or a chronjob.
I am aware that we have to find a solution for this matter, tanks for pointing it out.
Do you have access to the database of your installation? Can you read the entries in the tables?
Re: "Add to Cart" function not working from the detailed product page
22 July 2011 at 6:41pm Last edited: 22 July 2011 6:45pmHello bit99,
version 1.1 just went live. Customhtmlform, paypal and prepayment are updated too. Maybe your problems are gone with the new versions.
code.silvercart.org
Re: "Add to Cart" function not working from the detailed product page
26 July 2011 at 2:10am Last edited: 26 July 2011 2:41amHi,
I just wiped the server and reinstalled with 1.1 with a new 2.4.5 and new versions of the other modules,
I am unfortunately still having the same issue.
If you have time, please have a quick look at http://www.youredmontongallery.com and try to add more than one item to the cart.
I started looking closer at your install instructions, and on the screencast I noticed you name the folder "dataobjectmanager" and not "dataobject_manager"?
I named the folder "customhtmlform" as per the install instructions, it seems my error happens in this module.
perhaps in customHtmlFormSubmit ?
- another thing, According to security reasons, mod_php is not used on my server. not sure if this could be the cause to my problems?
I am just grasping for every little possibility.
thanks,
Re: "Add to Cart" function not working from the detailed product page
26 July 2011 at 2:49pmHello bit99,
I encountered a bug that we just fixed: If stock quantity is limited and you put one piece of a product into the cart all available pieces end up in the cart. Please get a copy with the latest changes:
http://code.silvercart.org/silvercart/downloads
The modules name must be dataobject_manager. The path name is hardcoded and must not be changed.
mod_php is no requirement for SilverStripe nor for SilverCart. I guess your hosting provider uses fcgi to parse the php scripts.
I will unse the coming to hours to work on the bug where you can not put an item in the cart from the product detail page. BTW: which browser are you using? Do you have an underscore somewhere in your url?
Re: "Add to Cart" function not working from the detailed product page
26 July 2011 at 3:29pmHello bit99,
do you have full access rights to the /temp directory? When we restricted access to the /temp we also landed on the error page. Are you running the installation in dev or in live mode?