Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google shopping price shows wrong #38

Closed
punitgadhiya opened this issue Apr 23, 2015 · 5 comments
Closed

google shopping price shows wrong #38

punitgadhiya opened this issue Apr 23, 2015 · 5 comments
Labels

Comments

@punitgadhiya
Copy link

I have Install and configure extension. It is working fine.
In Magento store price shows like this way Excl. BTW: € 180,99 and Incl. BTW: € 219,00. and when product synchronize with google shopping. In google shopping store it shows price exclusive tax. while i want to display Inclusive tax price. It mean it should show 219 instead of 180.99 how is it possible?
(Note: I have tried mapping attribute with "Display Actual Price" and "Price" but in both case it shows Exclusive Tax Price 180.99).

@punitgadhiya punitgadhiya changed the title google shopping price shows wrong! google shopping price shows wrong Apr 23, 2015
@schnere schnere added the bug label May 8, 2015
@schnere
Copy link
Contributor

schnere commented May 8, 2015

Are you listing your products inside or outside US?

@punitgadhiya
Copy link
Author

It is for Netherland.

@punitgadhiya
Copy link
Author

I am using google shopping for country Netherland. Can you please tell me what can i do for this price issue?

@schnere
Copy link
Contributor

schnere commented Jun 11, 2015

Okay, you have your price display settings on "Inclunding and excluding tax"?
Please try the following patch and let me know if it works:

--- app/code/community/BlueVisionTec/GoogleShoppingApi/Model/Attribute/Price.php.orig   2015-06-11 14:44:48.690510854 +0200
+++ app/code/community/BlueVisionTec/GoogleShoppingApi/Model/Attribute/Price.php        2015-06-11 14:44:54.674507118 +0200
@@ -38,7 +38,10 @@
         // get tax settings
         $taxHelp = Mage::helper('tax');
         $priceDisplayType = $taxHelp->getPriceDisplayType($product->getStoreId());
-        $inclTax = ($priceDisplayType == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX);
+        $inclTax = (
+            $priceDisplayType == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX
+            || $priceDisplayType == Mage_Tax_Model_Config::DISPLAY_TYPE_BOTH
+        );


         // calculate sale_price attribute value

@punitgadhiya
Copy link
Author

@schnere Thank you So much brother. its working fine now.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants