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

#   Prices do not show with a tax included

##

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

7 years 4 months ago -  7 years 4 months ago [\#307691](#307691) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  *[Prices do not show with a tax included](/forum/2-general-talk-about-hikashop/897688-prices-do-not-show-with-a-tax-included#307691 "-- HikaShop version -- : 4.1.0  Hi, I want to show the variants in listing&#95;img&#95;title, I managed to do it through the code below but the problem is that I can not take the value price&#95;value&#95;with&#95;tax. How can I show price with tax ?")* was created by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")*

-- HikaShop version -- : 4.1.0

Hi, I want to show the variants in listing_img_title, I managed to do it through the code below but the problem is that I can not take the value price_value_with_tax. How can I show price with tax ?
Code:

&lt;?php $productClass = hikashop_get('class.product'); $productClass-&gt;getProducts($this-&gt;row-&gt;product_id); $products = $productClass-&gt;products; foreach ($products as $product) { $variants = $product-&gt;variants; foreach ($variants as $variant) { $vendor_id = $variant-&gt;product_vendor_id; $sales = $variant-&gt;product_sales; $price = $this-&gt;currencyHelper-&gt;format($variant-&gt;prices[0]-&gt;price_value, $variant-&gt;prices[0]-&gt;price_currency_id); } } ?&gt;

Last edit: 7 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NzY4OC1wcmljZXMtZG8tbm90LXNob3ctd2l0aC1hLXRheC1pbmNsdWRlZD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

7 years 4 months ago [\#307698](#307698) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prices do not show with a tax included](/forum/2-general-talk-about-hikashop/897688-prices-do-not-show-with-a-tax-included#307698 "-- HikaShop version -- : 4.1.0  Hi, I want to show the variants in listing&#95;img&#95;title, I managed to do it through the code below but the problem is that I can not take the value price&#95;value&#95;with&#95;tax. How can I show price with tax ?")*

Hi,
You can do like that: Code:

$taxed_price = $this-&gt;currencyHelper-&gt;format($this-&gt;currencyHelper-&gt;getTaxedPrice($variant-&gt;prices[0]-&gt;price_value, hikashop_getZone(), $this-&gt;row-&gt;product_tax_id), $variant-&gt;prices[0]-&gt;price_currency_id);

The following user(s) said Thank You: [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NzY4OC1wcmljZXMtZG8tbm90LXNob3ctd2l0aC1hLXRheC1pbmNsdWRlZD90bXBsPW1hcmtkb3du) 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.040 seconds

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