|
Spiral Scripts Support Forum :: Virtuemart Extensions |
|
|
|
|
|
Subject :wrong price in GoogleBaseXML..
10-02-2011 20:39:46
|
|
|
jaap |
|
Fresher |
|
Joined: 10-02-2011 18:17:47
Posts: 6
Location: |
|
|
|
Hi,
The price listed in the xml file looks like this: "38,7932,975,82"
This is a combination of the price (38,79), the reduced price (32,97) and "you save" (5,82).
So only the products without reduced price are listed correctly.
I like to include in the product file only the reduced price. This is the price people pay. How can I fix this? |
IP Logged
|
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
11-02-2011 15:14:11
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 249
Location: |
|
|
|
Thanks for bringing this to my attention, I will look into this a get back to you when I know what the solution is. It is not a simpler matter to always get the right price in Virtuemart, although I am sure that the problem can be solved. |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
11-02-2011 15:51:20
|
|
|
jaap |
|
Fresher |
|
Joined: 10-02-2011 18:17:47
Posts: 6
Location: |
|
|
|
Thank you for looking into this matter. So far, I myself did not find a solution. But since Google does not accept the product with the price in the wrong format, it is important for me to solve it. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
11-02-2011 16:36:51
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 249
Location: |
|
|
|
OK, I have uploaded a new release, version 1.0.5, which I believe solves this problem. In the end I wrote a new function to calculate the price rather than using the Virtuemart one. From my own tests it seems to work as it should.
You can download it using your old download link, then upload and install as normal using the joomla installer. Please let me know if it works. |
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
11-02-2011 20:43:03
|
|
|
jaap |
|
Fresher |
|
Joined: 10-02-2011 18:17:47
Posts: 6
Location: |
|
|
|
Thanks, the prices are ok now. I was able to upload all my products (> 2000).
But there is one more thing. The description (in Google Merchant Center) shows the short description and the long description form VM. Would is be possible to just show the short description?
This is how it looks:
The short description and the long one are the same with this product. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
11-02-2011 20:43:32
|
|
|
jaap |
|
Fresher |
|
Joined: 10-02-2011 18:17:47
Posts: 6
Location: |
|
|
|
Thanks, the prices are ok now. I was able to upload all my products (> 2000).
But there is one more thing. The description (in Google Merchant Center) shows the short description and the long description form VM. Would is be possible to just show the short description?
This is how it looks:
The short description and the long one are the same with this product. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
12-02-2011 09:28:32
|
|
|
boggler |
|
Spiral Scripts Support |
|
Joined: 18-08-2009 10:14:13
Posts: 249
Location: |
|
|
|
To do this you will need to edit the file
components/com_googlebasexml/models/googlebasexml.php
edit line 496 from
Code:
$desc = $db->f("product_s_desc")."\n".$db->f("product_desc");
Code:
$desc = $db->f("product_s_desc");
|
IP Logged
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re:wrong price in GoogleBaseXML..
12-02-2011 22:09:25
|
|
|
jaap |
|
Fresher |
|
Joined: 10-02-2011 18:17:47
Posts: 6
Location: |
|
|
|
Thank you very much for this solution. |
IP Logged
|
|
|
|
|