Dean
Dean

Reputation: 1236

Prestashop shopping cart

I have recently implemented an online store in prestashop. After installing and testing a payment gateway I then uninstalled and disabled modules that i dont use. Now i have a bit of a bizarre problem.

  1. I can only add 1 item to the shopping cart. When I try to add more than one item nothing happens and there are no javascript errors.
  2. When I navigate away from the page where I added items to the cart. The cart goes from

Cart : 1 product

To

Cart : (empty)

Has anyone ever encountered this problem in Prestashop 1.5.2.0 ?

Could it be a module I disabled or a PHP configuration problem.

Thanks in advance

Upvotes: 0

Views: 2149

Answers (3)

Dean
Dean

Reputation: 1236

Seems like this was a cookie related issue. Managed to solve it by just clearing cookies or running the browser in incognito. Will log this issue with the developers

Upvotes: 0

Benjamin Utterback
Benjamin Utterback

Reputation: 74

You can also clear the compiled smarty cache in your PrestaShop files.

Upvotes: -1

Clayton Bell
Clayton Bell

Reputation: 430

It sounds like a problem with sessions. You could do a quick test to check that sessions are supported in your environment.

session_start();
if($_SESSION['test']==1)
{
    echo 'It worked. My Session ID is '.session_id();
}
$_SESSION['test']=1;

Upvotes: 0

Related Questions