Google products plugin site URL missing in feed

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
2 months 4 days ago #363970

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 4.4.8
-- PHP version -- : 8.1.27

Hi,
In this plugin on line 481 there is this line

"\t\t".'<link><![CDATA[ '.$siteAddress.' ]]></link>'."\n"."\n";
FIX
"\t\t".'<link><![CDATA[ '.$this->siteAddress.' ]]></link>'."\n"."\n";

same problem on line 612
$xml .= "\t".'<g:'.$name.'>'.htmlspecialchars($siteAddress.$this->main_uploadFolder_url.(ltrim($image->file_path,'/'))).'</g:'.$name.'>'."\n";

FIX
$xml .= "\t".'<g:'.$name.'>'.htmlspecialchars($this->siteAddress.$this->main_uploadFolder_url.(ltrim($image->file_path,'/'))).'</g:'.$name.'>'."\n";

I found this because I use newsman.ro to import my feed of products there for the newsletter and some remarketing stuff, but now they can't parse the feed, so I started looking for problems and I found this.

Last edit: 2 months 4 days ago by oxido.

Please Log in or Create an account to join the conversation.

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
2 months 4 days ago #363973

FIXED, after this 2 changes, the feed is good and can be parsed corectly

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
2 months 4 days ago #363972

Hi,

Thanks for your feedback. We actually already included that patch on our end since 2 weeks ago.
www.hikashop.com/support/forum/product-c...duct-xml/363869.html

The following user(s) said Thank You: oxido

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum