Post by Shaman » Thu Aug 11, 2011 10:39 pm

Google Sitemap Feed includes bug in its code that doesn't allow to convert the links to the manufacturer in a SEF format .

To fix it, you must find in the file catalog/controller/feed/google_sitemap.php
the code:

Code: Select all

$output .= '<loc>' . str_replace('&', '&', $this->url->link('product/manufacturer', 'manufacturer_id=' . $manufacturer['manufacturer_id'])) . '</loc>';
and change it on the next one:

Code: Select all

$output .= '<loc>' . str_replace('&', '&', $this->url->link('product/manufacturer/product', 'manufacturer_id=' . $manufacturer['manufacturer_id'])) . '</loc>';
v 1.5.1.1

OpenCart - Ukraine


New member

Posts

Joined
Thu May 20, 2010 6:47 pm
Location - Ukraine, Kyiv

Post by Daniel » Thu Aug 11, 2011 11:18 pm

thx. will be in svn.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 7 guests