link small image rss feed

Phoca Cart - complex e-commerce extension
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

link small image rss feed

Post by vodka »

Hi,
please tell me how to how to make the url point not to the main image of the product,
but to the preview product in category (small image)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: link small image rss feed

Post by Jan »

Hi, can you explain more what do you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: link small image rss feed

Post by vodka »

../images/phocacartproducts/Keramik/thumbs/phoca_thumb_l_keramikvzale1.jpg - big images
../images/phocacartproducts/Keramik/thumbs/phoca_thumb_m_keramikvzale1.jpg - small images

how to make it so that the url of small images is inserted
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: link small image rss feed

Post by Jan »

Hi, if you need to change the image size for the RSS Feed, this needs to be customized directly in output of feed view.

components/com_phocacart/views/feed/tmpl/default.php

line cca 179

Code: Select all

$image 	= PhocacartImage::getThumbnailName($this->t['pathitem'], $v->image, 'large');
just change 'large' to 'medium'

Jan
If you find Phoca extensions useful, please support the project
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: link small image rss feed

Post by vodka »

THANKS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: link small image rss feed

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply