• Closed by: Fred
  • Closed on: 10.03.21, 22:52
  • Reason: Closed
  • Comment: Glad to help!

Ticket #20958 - Website Problem

Hello,

We’re working on a website using this link : https://mehdi-bodyone.websrc.fr/fr/bodys/1224-7860-body-debardeur-cache-coeur-satin-bodys-b001.html#/19-taille-38/72-couleur-ecru and there’s some problems about the main picture of a product that we might not be able to fix by ourselves. Could you fix that problem ?

Thanks.

Comments

Jonathan GUTIERREZ 05 Mar 2021, 09:49

To be more specific, when we try to change the colors of the main picture, nothing happen and the picture does not have any changes. Thought, the littles pictures on the side aren’t affected by this problem.

Thanks again and sorry for the lack of accuracy.

Fred 05 Mar 2021, 10:15

Hi, Jonathan.
I don’t have permissions to update files.
Please do the following
- open the file /var/www/bodyone.fr/themes/alysum/templates/catalog/_partials/miniatures/product.tpl
- find the line 81

{if ($product.quantity > 0) && ($page.page_name !== 'product') && ($product.avai...

- replace “!==” with “!=”

Jonathan GUTIERREZ 05 Mar 2021, 17:31

Hi,

I updated the line 81 :

                      {if ($product.quantity > 0) && ($page.page_name != 'product') && ($product.available_for_order == 1) && ($product.customizable == 0)}

But nothing changes.

We need to have the cover image changing depending on the color we choose.

Thank you for you help (you were working with my employee : Mehdi) ☺

Fred 05 Mar 2021, 23:36

Have you tried to clear prestashop cache?

Jonathan GUTIERREZ 07 Mar 2021, 21:01

My apologies.. but yes, we’ve tried to clear the cache again and again.
I will give you back full access with FTP from now.

Fred 08 Mar 2021, 10:40

Please try to clear prestashop cache.
I just fixed the file /var/www/bodyone.fr/themes/alysum/templates/catalog/_partials/product-cover-thumbnails.tpl

Jonathan GUTIERREZ 08 Mar 2021, 19:58

Dear,

Excuses me but nothing changed ?

Fred 09 Mar 2021, 10:58

Please update credentials in your profile https://support.promokit.eu/index.php?do=myprofile to access to your Back-office

Il y a une erreur.
Ce compte employé n'existe pas, ou le mot de passe est erroné.
Jonathan GUTIERREZ 09 Mar 2021, 11:46

alysum@websource.fr

Thank and sorry

Fred 09 Mar 2021, 20:17

no problem.
As I can see it works correctly now https://take.ms/1LWxx