We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Waiting on customer

Ticket #11657 - Display error/message when try to add more piece than stock

Hello, i have a problem with add to cart button.
For example this product: https://shop.ilamalu.it/uomo/accessori/calze/collegien/35-calzini-in-cotone Every combination have only one piece.
If i add to cart first piece is ok, but when i try to click second time, nothing happen. I need at second click (over stock availability) display message that notify customer that there is no other piece of that product in stock.


Schermata 2018-02-13 alle 10.... (1.05 MiB)

This ticket does not depend on any other tickets.

Marek (marek) 19 Feb 2018, 13:41

Hi, Diego.
Sorry for the delay. I spent much time these days, but still don't have any result

Diego (aircrescio) 19 Feb 2018, 14:13

Ok, I wait your confirm for fix, thanks for your support, this fix is very important for user experience.

Marek (marek) 19 Feb 2018, 14:14

Yes, I understand

Marek (marek) 22 Feb 2018, 22:27

Hi, Diego.
The issue is with the code:

But I have checked that in the original theme and it should not be there, so I suppose it's one of your customisation. Try to fins it and remove.

Diego (aircrescio) 22 Feb 2018, 22:34

Please help me because i don’t make that changes. Thanks

Marek (marek) 22 Feb 2018, 23:07
Diego (aircrescio) 06 Mar 2018, 12:50

Where i can customize css and layout of popup? I'd like have the same layout of cart behavior as you can see in attachment.

Schermata_2018-03-06_alle_12.... (919.3 KiB)
Marek (marek) 06 Mar 2018, 13:08

That is a native prestashop plugin, but you can override it with your styles in the theme .css file, for example alysum.css

Diego (aircrescio) 06 Mar 2018, 15:10

ok, but where i can find style of that popup that you use in your theme as you can see in last attachment? thanks

Marek (marek) 07 Mar 2018, 15:42

You have to use Developer tools to find necessary styles. Here is useful video about that https://www.youtube.com/watch?v=wcFnnxfA70g

Diego (aircrescio) 09 Mar 2018, 17:51

You have no idea where you have styled cart popup for copy style?

Diego (aircrescio) 09 Mar 2018, 18:19

I try to use developer tool for analyze your popup but i can't... there isn't Inspector voice...in the popup of cart i can find tool. Can you help me to replicate same style of my last attachment?

Alex Support (Admin) 09 Mar 2018, 22:02

Hi. You want to change the default message look to popup message https://www.screencast.com/t/nj6xCvrlZ
Am I right?