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

#   Google Products Integration: show price with tax

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

14 years 7 months ago [\#44478](#44478) by [Gudrun](/forum/user/6306-gudrun "View Gudrun's Profile")  *[Google Products Integration: show price with tax](/forum/4-how-to/44478-google-products-integration-show-price-with-tax#44478 "Hello  I have a question regarding the google products plug-in. I use it and it works fine updating the products with google products. The only problem I have is that the prices show without VAT and not with VAT then in google products - resulting into very strange prices as we have a 8% tax here in Switzerland. As in Google products you can only set a tax rule for the US and not for Switzerland, I am a bit lost how I get the prices shown correctly. Can I somehow alter the automatic xml file in Hikashop?  Thanks in advance!")* was created by *[Gudrun](/forum/user/6306-gudrun "View Gudrun's Profile")*

Hello

I have a question regarding the google products plug-in. I use it and it works fine updating the products with google products. The only problem I have is that the prices show without VAT and not with VAT then in google products - resulting into very strange prices as we have a 8% tax here in Switzerland.
As in Google products you can only set a tax rule for the US and not for Switzerland, I am a bit lost how I get the prices shown correctly. Can I somehow alter the automatic xml file in Hikashop?

Thanks in advance!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0NDc4LWdvb2dsZS1wcm9kdWN0cy1pbnRlZ3JhdGlvbi1zaG93LXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

14 years 7 months ago [\#44641](#44641) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Google Products Integration: show price with tax](/forum/4-how-to/44478-google-products-integration-show-price-with-tax#44641 "Hello  I have a question regarding the google products plug-in. I use it and it works fine updating the products with google products. The only problem I have is that the prices show without VAT and not with VAT then in google products - resulting into very strange prices as we have a 8% tax here in Switzerland. As in Google products you can only set a tax rule for the US and not for Switzerland, I am a bit lost how I get the prices shown correctly. Can I somehow alter the automatic xml file in Hikashop?  Thanks in advance!")*

Hi,

If you want to do that, you will have to change the code:
$product-&gt;prices[0]-&gt;price_value

to:
$product-&gt;prices[0]-&gt;price_value_with_tax

in the several places of the file plugins/hikashop/google_products.php

However, that will use the default settings on your front end so if you don't display the taxes on your website for the products until the user has entered his address, you won't get the taxes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0NDc4LWdvb2dsZS1wcm9kdWN0cy1pbnRlZ3JhdGlvbi1zaG93LXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 11
- Thank you received: 0
-
-

14 years 7 months ago [\#44739](#44739) by [Gudrun](/forum/user/6306-gudrun "View Gudrun's Profile")  Replied by *[Gudrun](/forum/user/6306-gudrun "View Gudrun's Profile")* on topic *[Re: Google Products Integration: show price with tax](/forum/4-how-to/44478-google-products-integration-show-price-with-tax#44739 "Hello  I have a question regarding the google products plug-in. I use it and it works fine updating the products with google products. The only problem I have is that the prices show without VAT and not with VAT then in google products - resulting into very strange prices as we have a 8% tax here in Switzerland. As in Google products you can only set a tax rule for the US and not for Switzerland, I am a bit lost how I get the prices shown correctly. Can I somehow alter the automatic xml file in Hikashop?  Thanks in advance!")*

Thanks Nicolas

It works now!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0NDc4LWdvb2dsZS1wcm9kdWN0cy1pbnRlZ3JhdGlvbi1zaG93LXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.071 seconds

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

[](#top)
