![]() |
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? |
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/ |
All times are GMT -8. The time now is 09:12 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.