• Closed by: Marek
  • Closed on: 01.11.19, 18:37
  • Reason: Closed
  • Comment: Glad to help!

Ticket #15669 - Add to cart button for products with combinations

Dear Promokit,

We use Alysum with Presta 1.7.5.2 on https://jagtliv.dk and have a problem getting the add to cart button in category views to work correctly. For products with combinations. For some (or one) product(s) the add to cart button is removed, but for others, it is not. Do you support this feature? We disabled the add to cart button for products with combinations in the control panel shop settings.

Kind regards

Comments

Marek 24 Sep 2019, 16:01

Hi, Klaus.
Could you please show me at a screenshot which product should not have add to cart button?

Klaus Lagermann 24 Sep 2019, 16:22

https://jagtliv.dk/38-veste is a category view of vests. Only the “Fleece vest - Grøn” has its add to cart button removed. All the vests have sizes (combinations).

Klaus Lagermann 24 Sep 2019, 16:23

The add to cart button appears on mouseover.

Marek 24 Sep 2019, 21:50

I suppose it’s because that product has combinations of colors and sizes. How do you suppose it should be? I mean a condition to show Add to cart

Klaus Lagermann 25 Sep 2019, 14:45

To make sense, all products having more than one size or one color or more than one combination of vaiations, should not have an “Add to cart” button, then that particular feature is set to “No” - the feature is in Shop Settings - Product Settings - “Show Add to Cart when product has variations” (translated from Danish) and I set that to “No”.

Marek 26 Sep 2019, 12:29

Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP

Klaus Lagermann 26 Sep 2019, 17:43

Hi Marek, I filled in the details in the profile.

Thanks and best regards,
Klaus

Marek 27 Sep 2019, 09:35

Do you have enabled cache in your prestashop? I’m not able to login to BO to check it out

Klaus Lagermann 27 Sep 2019, 10:28

Hi Marek,

Cache is not enabled.

I rechecked your access to BO, perhaps a misspell, so please try again.

Regards,
Klaus

Marek 28 Sep 2019, 17:53

Maybe the path is wrong? I edit the file /customers/e/b/1/jagtliv.dk/httpd.www/themes/alysum/templates/catalog/_partials/miniatures/product.tpl but no changes in the front page

Klaus Lagermann 30 Sep 2019, 12:21

Hi Marek, I also tried making a small change (inserting a HTML comment) in the same template file, but it does not reflect in what is delivered to the browser. I noticed that for some reason there is “Never recompile template files” in Advanced settings. Perhaps that has effect?

Marek 30 Sep 2019, 12:58

Yes, that’s it. Try to clear cache