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]

CommentFileSizeAuthor
#3 uc_gbase-product_url-759536-3.patch695 bytesVolx

Comments

BroadlineCable’s picture

I'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.

BroadlineCable’s picture

Category: support » bug
Priority: Normal » Critical

The offending code seems to be:

$node_link = $item->xml->addChild('link');
$node_link->addAttribute('href',$base_url.$node->path);

Volx’s picture

Title: url links aren't being submitted? » Wrong URL submitted to Google
Component: Miscellaneous » Code
Status: Active » Needs review
StatusFileSize
new695 bytes

I replaced the hard-coded url into a call to the standard Drupal API for building urls, which respects URL-aliases. Patch is attached.

compujohnny’s picture

Status: Needs review » Fixed

Fixed in the latest dev version

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.