link small image rss feed

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

link small image rss feed

Post by vodka » 01 Jul 2022, 18:14

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: 45253
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: link small image rss feed

Post by Jan » 04 Jul 2022, 16:22

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

Jan
If you find Phoca extensions useful, please support the project

vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: link small image rss feed

Post by vodka » 04 Jul 2022, 17:57

../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: 45253
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: link small image rss feed

Post by Jan » 06 Jul 2022, 14:04

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

vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: link small image rss feed

Post by vodka » 07 Jul 2022, 20:45

THANKS

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

Re: link small image rss feed

Post by Jan » 08 Jul 2022, 21:13

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

Post Reply