| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
product image zoom | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
product image zoom
Currently, the zooming capabilities takes the uploaded image size as the regular width.
We have been trying to edit with CSS to make sure the max width of the zoomed images is a percentage of the browser size (to prevent scrolling). However, the zoom is controlled with javascript. Is there a way to edit this?
__________________
X-Cart Version 4.5.4 Version 5.1.11 Version 5.2.15 x3 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: product image zoom
In X-Cart 5.3.x the file that controls the zoom function is this one:
customer/product/details/controller.js You should create a custom module that will decorate the \XLite\View\Product\Details\Customer\Page\APage and replace the link to the default controller.js file with a link to your custom js file added by that module. For documentation for developers please refer to this website: http://devs.x-cart.com/
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|