hi, i noticed that their wasn't a url link field to be sumitted to google merchant. But in either case i found this out after making a few submissions and noticed that when the item appeared in google product searches and i clicked on my link it doesnt bring me directly to my site, instead it goes to google's own product description where the user had to contact the user to make the sale. am i doing something wrong here?
link here: http://www.google.com/products?hl=en&client=firefox-a&q=saints+row+plati...
[sort by the lowest price and im the store name: xcubicle]
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uc_gbase-product_url-759536-3.patch | 695 bytes | Volx |
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