Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

How to change recently viewed products image folder referred to?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-24-2017, 08:01 PM
 
snowboard snowboard is offline
 

Senior Member
  
Join Date: May 2007
Posts: 111
 

Default 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).
__________________
version 4.1.7
Reply With Quote
  #2  
Old 11-26-2017, 10:44 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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()
__________________
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
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:09 AM.

   

 
X-Cart forums © 2001-2020