lat9 / gpsf

An update to the previous Numinix version, now supporting Zen Carts 1.5.6 and above (including 1.5.8a) as well as PHP versions 5.6 through 8.2.
GNU General Public License v2.0
2 stars 2 forks source link

$extension_custom_fields['link'] is added, not replaced #22

Closed torvista closed 6 months ago

torvista commented 6 months ago

Since I'm using a url rewriter, the default generated url is static (www.website.com/widgets/main_widget) and language-dependant. I was looking at using the native url instead.

(I've already added an extra parameter to zen_href_link to prevent url-rewriting when not required.)

But, when trying to replace the default tag by $extension_custom_fields['link'], it is added to the xml instead of replacing the default tag.

lat9 commented 6 months ago

Noting that this change will also address #11.

torvista commented 6 months ago

ok.

I'm of the view that a static url may change through changes in the site, but the native url will always "get" to the product even if it is moved (as long as the pid stays the same). Same idea for a sitemap... Opinions from the SEO experts?

lat9 commented 6 months ago

ok.

I'm of the view that a static url may change through changes in the site, but the native url will always "get" to the product even if it is moved (as long as the pid stays the same). Same idea for a sitemap... Opinions from the SEO experts?

Don't know if any "SEO experts" are watching.