• Priority: Medium
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 18.07.22, 12:21
  • Opened by: Martina Farela
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23561 - remove zoom image on product page

Hello, on the product page of the mobile version. The product image is enlarged when you run your finger over it. This is uncomfortable.

However, in the desktop version, the image is enlarged.

I want the image to be enlarged in the mobile version as in the desktop version. What should I do?

You can see in https://nuevaweb-sc.ddns.net/comprar/475-bebida-de-alpiste-ecologica-1-litro-soria-natural.html on another product

Thanks

Comments

Fred 18 Jul 2022, 12:24

Hi, Martina Farela.
Fixed.
Updated file is /themes/alysum/assets/js/pages/product.js

Martina Farela 18 Jul 2022, 15:52

Actually what I want is for the image to open in a tab like in the desktop version.

right now, it doesn't zoom but it doesn't enlarge the image either like in the pc version

Thanks

Fred 19 Jul 2022, 16:38

Hi, Martina.
Open the file

/themes/alysum/templates/catalog/_partials/product-cover-thumbnails.tpl

find the line

<div class="layer smooth05 hidden-sm-down" data-toggle="modal" data-target="#product-modal">

remove "hidden-sm-down" class.

<div class="layer smooth05" data-toggle="modal" data-target="#product-modal">
Martina Farela 20 Jul 2022, 15:06

Yes, it's fixed.

Thank you very much Fred

Fred 20 Jul 2022, 15:06

You are welcome!