Jump to content

Disabling inner zoom on product image in PS 1.7 (enabling on-click zoom in hover window fancybox)


Recommended Posts

Hi,

 

There was an option in PS 1.6 to Enable JqZoom instead of Fancybox on the product page. 

 

Now I have PS 1.7 and I need to Disable JqZoom (do the opposite). I searched the forum but did not find the answer for PS 1.7.

 

Any help would be appreciated.

 

Thank you.

Link to comment
Share on other sites

Unfortunately, we are not able to find any such setting to disable the Zoom in PrestaShop 1.7

 

You can edit some code to remove it in your store. You can follow the instructions below to do the same.

 

Open /prestashop17/themes/classic/templates/catalog/_partials/product-cover-thumbnails.tpl

 

Search for material-icons zoom-in

 

and remove the <i> tag containing this.

 

Also remove data-target="#product-modal" from its parent.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

J'ai supprimer la partie data-target et le zoom-in dans le code ci dessus mais j'ai toujours le zoom sur les images, pourriez vous m'aider?

 

I had delet data target and zomm-in in red in the cod down, but i have always zoom on the picture, can help me?

 

 {block name='product_cover'}
    <div class="product-cover">
      <img id="rvzoom" class="js-qv-product-cover" src="{$product.cover.bySize.large_default.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" style="width:100%;" itemprop="image">
      <div class="layer hidden-sm-down" data-toggle="modal" data-target="#product-modal">
        <i class="fa fa-arrows-alt zoom-in"></i>

      </div>

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

if you want to disabling zoom from your product just put /*    ..... */ in js.theme /themes/yourtheme/assets/js/js.theme

where start      /*      //if inner  zoom

and before this line          /*-------------------END THE ZOOM WINDOW AND LENS----------------------------------*/

close whit */ 

hope I help you. Thanks

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...