• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #21614 - Product miniature Attribute selector bug when adding to cart


I’ve noticed a bug I would like solved. The attribute selector in the product miniature shows all attributes, even when they don’t have stock. And allows them to be added to card. Nothing is actually added but the pop up informing that it was successfully added appears regardless.

Also it seems that if the first attribute doesn’t have stock, the add to cart button doesn’t appear at all, even if other attributes are in stock.

Best wishes


Fred 02 Jun 2021, 17:27

Hi, Ruben Filipe Bettencourt Egydo Ferreira.
1. Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your Back-office and Server through FTP 2. Could you please give me a link to a page where I can see the issue? and the product name that I could test out

Ruben Filipe Bettencourt Egydo Ferreira 03 Jun 2021, 09:02


I added the access information to my profile. You can see the issues on this page with the attribute input in the product miniature: https://coccodrillo.pixelsbrand.de/31-menina

1. You will notice the first product in the listing doesn't have an Add to Cart button. When the first combination attribute doesn't have available quantity, the add to cart button doesn't appear, even if another combination has quantity.

2. The input doesn't update for when a combination is in the cart. So if the combination has quantity of 1, and the cart has that 1 item, you can still see the radio input and add to cart anyway and this results in an empty add to cart popup.

3. There's also something going on with faceted search. If you select the first category for instance, the page goes blank and there's no way to unselect it.

Thank you for your help.

Fred 03 Jun 2021, 11:02

1&2. Yes I see now what you are talking about. That feature was developed just as information about product variations. There is no function to update Add to cart button state. We can try to add it but that will take some time
3. Go to Faceted search module settings and try to rebuild index (you will see the button in the very top)

Ruben Filipe Bettencourt Egydo Ferreira 03 Jun 2021, 12:14

I've rebuilt the indexes but unfortunately it did not work.

Regarding the attribute selector in the product miniature, I understand how something like that can take time to add. Perhaps you can help me change the functionality of these inputs to something more simple instead like a direct link to the selected attribute? The same thing done for the color variant links in the product miniatures

Ruben Filipe Bettencourt Egydo Ferreira 04 Jun 2021, 12:28


Are there any updates regarding this?

Fred 04 Jun 2021, 16:29

We spent some time on that with no success.
I'm not sure that's theme's issue.
Do you have an option to install a clone of current shop to be able to with to classic theme and make tests there?

Ruben Filipe Bettencourt Egydo Ferreira 07 Jun 2021, 10:32

You're right. I installed in classic theme and it is some weird prestashop bug. I used to have these products and categories in a 1.6 store and it was fine so this must be a recent problem.

What about the option to make the attribute picker direct links in the product miniature?

Fred 07 Jun 2021, 18:07

We need time to implement that feature. That's not easy to develop.