Jump to content

Undefined message when add a product to cart


cpuin

Recommended Posts

Hi,

I have the following problem.

When click add to card the product is added and there is a message wether I can continue shopping, when click to continue a message "undefined" is appearing below the button.I'm using stock , but even when I added more quantities and it is not the last one it appears.

I'm using Prestashop 8.2

The site is not visible, because is not in production yet

Screenshot 2025-08-28 at 15.22.53.png

Link to comment
Share on other sites

I've seen it many times even on a clean installation but never had a motivation to actually examine it. Can you inspect the code in the console and see if this element has any ID or class?

  • Like 1
Link to comment
Share on other sites

On 8/28/2025 at 1:27 PM, cpuin said:

Hi,

I have the following problem.

When click add to card the product is added and there is a message wether I can continue shopping, when click to continue a message "undefined" is appearing below the button.I'm using stock , but even when I added more quantities and it is not the last one it appears.

I'm using Prestashop 8.2

The site is not visible, because is not in production yet

Screenshot 2025-08-28 at 15.22.53.png

Hello,

 

sometime can be caused by third.party modules like pretty url

But in other occasions this can be caused by FPM served by Nginx in php config. Try to use FPM served by Apache!!.

 

Cheers

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...