X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   How to change recently viewed products image folder referred to? (https://forum.x-cart.com/showthread.php?t=75815)

snowboard 11-24-2017 08:01 PM

How to change recently viewed products image folder referred to?
 
Hi,

The "Recently Viewed" items at bottom of eg home page, is referring to the image in folder:

var/images/100.120/

I want the images to be larger and instead refer to folder var/images/300.300/

I have already set under Look and Feel > Images: sizes of thumbnails etc to 300 x 300 but this does not affect this.

I can't seem to find where to change the folder these images refer to?

i tried webmaster mode and the templates doing this does not seem to determine this.

Does anyone know how this can be changed?

Thanks!

I am using Fashion house skin (and it is the same in default crisp white skin).

qualiteam 11-26-2017 10:44 PM

Re: How to change recently viewed products image folder referred to?
 
I'm not 100% sure, but it looks like the dimensions are hard coded into Product Advisor module.

Here are the classes&methods that you have to decorate from a custom module:
- \XLite\Module\CDev\ProductAdvisor\View\RecentlyVie wed::getProductWidgetParams()
- \XLite\Module\CDev\ProductAdvisor\Logic\ImageResiz e\Generator::defineImageSizes()


All times are GMT -8. The time now is 11:56 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.