Jump to content

Add to Cart and Ajax won't work


Recommended Posts

Hello, last year I have updated through conversions, my website (www.lapalma-kralen.nl). I'm very content how the site looks but have a few issues on getting it working as at the demo site from prestashop. 

 

I'm using prestashop version 1.6.0.9 

 

The issue:

 

At the front page it will show for several days the new products. When i hoover over the add to cart button it is inactive (grey and transparent). 

 

post-13749-0-54099200-1436088724_thumb.png

 

Because it is inactive it will add a product to my cart and comes then with a pop-up screen

post-13749-0-61656800-1436088726_thumb.png

 

Also my cart won't update

post-13749-0-41718500-1436088725_thumb.png

 

I looked into my database and saw something strange. Several hundreds of my product has in the table ps_products at the field quantity a number but a hole lot of them have a value of zero (0). But when I look in the BO is has a positive value.

 

First picture is from the BO, the second from the db ps_products and the third is from the DB ps_stock_availible

 

post-13749-0-88714200-1436088722_thumb.png

post-13749-0-73805400-1436088721_thumb.png

post-13749-0-84551900-1436088720_thumb.png

 

I think that this is the problem and the system sees the products as not in stock.

 

Can someone help me to get it right?

 

Thx

 

 

 

 

 

 

 

 

 

 

 

post-13749-0-55818000-1436088727_thumb.png

Link to comment
Share on other sites

ps_product is wrong table, the only one proper table is ps_stock_available.

from what i see on your website, you've got some js errors:
when im trying to add products to cart i see error related to piwik module

X07nltJ.png

 

try to disable it and then will see if problem is related to core, or to piwik stats

Link to comment
Share on other sites

dunno

case needs a little more tests.

 

if you want, please:

- turn off each available cache, CCC, minifaction of js etc. (you can do it under adv. parameters > performance)

- then turn on piwik stats

 

i will be able to say something more then

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...