Closed (fixed)
Project:
Ubercart Google Merchant Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2010 at 16:10 UTC
Updated:
13 Jul 2012 at 07:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
BroadlineCable commentedI'm having the same problem. uc_gbase.module has the code for this on line 509 and 510 however it doesn't output the correct value to google. I'm not a PHP programmer though so I'm not really sure how to fix it.
Comment #2
BroadlineCable commentedThe offending code seems to be:
$node_link = $item->xml->addChild('link');
$node_link->addAttribute('href',$base_url.$node->path);
Comment #3
Volx commentedI replaced the hard-coded url into a call to the standard Drupal API for building urls, which respects URL-aliases. Patch is attached.
Comment #4
compujohnny commentedFixed in the latest dev version