[Skip to main content](#vessel-content)

#   Google Products plugin exports wrong prices

##

- **[paddor](/forum/user/39198-paddor "View paddor's Profile")**
- [![paddor's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39198-paddor "View paddor's Profile") Topic Author
- [ Offline](/forum/user/39198-paddor)

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 5 days ago [\#217908](#217908) by [paddor](/forum/user/39198-paddor "View paddor's Profile")  *[Google Products plugin exports wrong prices](/forum/37-import-export-csv-xls/879977-google-products-plugin-exports-wrong-prices#217908 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome  Google Products export doesn't contain correct values for price per unit. We have a minimum order quantity of 500, and the plugin unfortunately exports the calculated price for 500 pieces. We want to submit the unit price to Google Products. If I select unit price in the plugin options however, it sends 0$ as we have not maintained a retail price (and don't want to do so as this should not been shown to the customers).  Philippe")* was created by *[paddor](/forum/user/39198-paddor "View paddor's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Chrome

Google Products export doesn't contain correct values for price per unit. We have a minimum order quantity of 500, and the plugin unfortunately exports the calculated price for 500 pieces. We want to submit the unit price to Google Products. If I select unit price in the plugin options however, it sends 0$ as we have not maintained a retail price (and don't want to do so as this should not been shown to the customers).

Philippe

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk5NzctZ29vZ2xlLXByb2R1Y3RzLXBsdWdpbi1leHBvcnRzLXdyb25nLXByaWNlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

11 years 5 days ago [\#217948](#217948) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Products plugin exports wrong prices](/forum/37-import-export-csv-xls/879977-google-products-plugin-exports-wrong-prices#217948 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome  Google Products export doesn't contain correct values for price per unit. We have a minimum order quantity of 500, and the plugin unfortunately exports the calculated price for 500 pieces. We want to submit the unit price to Google Products. If I select unit price in the plugin options however, it sends 0$ as we have not maintained a retail price (and don't want to do so as this should not been shown to the customers).  Philippe")*

Hi,

It's works like that on purpose. Since you don't see the product by units but as a pack of 500, you're supposed to give the total price of the pack.
If you want to change that, you'll have to change the line: Code:

$price = round($product-&gt;prices[0]-&gt;$price_name, 2)*$product-&gt;product_min_per_order;

to: Code:

$price = round($product-&gt;prices[0]-&gt;$price_name, 2);

in the file plugins/hikashop/google_products/google_products.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk5NzctZ29vZ2xlLXByb2R1Y3RzLXBsdWdpbi1leHBvcnRzLXdyb25nLXByaWNlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.157 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
