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

#   Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 5 months ago -  14 years 5 months ago [\#49701](#49701) by [4drian](/forum/user/7395-4drian "View 4drian's Profile")  *[Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?](/forum/4-how-to/49701-pricedisplay-100-00eur-119-00eur-incl-vat#49701 "I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?  like this:    (595,00€ incl. VAT)  That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)  Kind regards, Adrian.  (p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)")* was created by *[4drian](/forum/user/7395-4drian "View 4drian's Profile")*

I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?

like this:
**500,00€**

(*595,00€ incl. VAT*)

That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)

Kind regards,
Adrian.

(p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)

Last edit: 14 years 5 months ago by [4drian](/forum/user/7395-4drian "View 4drian's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5NzAxLXByaWNlZGlzcGxheS0xMDAwMC0tMTE5MDAtaW5jbC12YXQtP3RtcGw9bWFya2Rvd24=) 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: 86321
- Thank you received: 14279
-
-

14 years 5 months ago [\#49813](#49813) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?](/forum/4-how-to/49701-pricedisplay-100-00eur-119-00eur-incl-vat#49813 "I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?  like this:    (595,00€ incl. VAT)  That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)  Kind regards, Adrian.  (p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)")*

To do that, you will have to edit the file "listing_price" of the view "product" via the menu Display-&gt;Views and change the code there to what you want as there is not option for that.

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

- **[R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile")**
- [![R&#95;Fey's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7323-r-fey "View R&#95;Fey's Profile")
- [ Offline](/forum/user/7323-r-fey)

Less More

- Posts: 7
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#49825](#49825) by [R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile")  Replied by *[R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile")* on topic *[Re: Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?](/forum/4-how-to/49701-pricedisplay-100-00eur-119-00eur-incl-vat#49825 "I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?  like this:    (595,00€ incl. VAT)  That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)  Kind regards, Adrian.  (p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)")*

I have bought the Business Edition last week and was wondering about this too.

I'm not very well into PHP coding. Would it be possible to post a code snippet, that fits this format?

Would also be glad to see this as a core option for shops that maintain business customers.

Greetings,
Ralf.

Last edit: 14 years 5 months ago by [R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile").

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 5 months ago [\#49882](#49882) by [4drian](/forum/user/7395-4drian "View 4drian's Profile")  Replied by *[4drian](/forum/user/7395-4drian "View 4drian's Profile")* on topic *[Re: Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?](/forum/4-how-to/49701-pricedisplay-100-00eur-119-00eur-incl-vat#49882 "I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?  like this:    (595,00€ incl. VAT)  That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)  Kind regards, Adrian.  (p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)")*

Tried around a bit but didnt get the results I aimed for. Can calculation be messed up by edititing these views?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ5NzAxLXByaWNlZGlzcGxheS0xMDAwMC0tMTE5MDAtaW5jbC12YXQtP3RtcGw9bWFya2Rvd24=) 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: 86321
- Thank you received: 14279
-
-

14 years 5 months ago -  14 years 5 months ago [\#49964](#49964) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?](/forum/4-how-to/49701-pricedisplay-100-00eur-119-00eur-incl-vat#49964 "I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?  like this:    (595,00€ incl. VAT)  That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)  Kind regards, Adrian.  (p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)")*

The calculations are done before that view file is called. So you won't mess the calculations.

What you want to do is to change the code: Code:

if($this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_value_with_tax,$price-&gt;price_currency_id); } if($this-&gt;params-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_BEFORE_TAX'); } if($this-&gt;params-&gt;get('price_with_tax')==2&#124;&#124;!$this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_value,$price-&gt;price_currency_id); } if($this-&gt;params-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_AFTER_TAX'); }

to: Code:

if($this-&gt;params-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_BEFORE_TAX'); } if($this-&gt;params-&gt;get('price_with_tax')==2&#124;&#124;!$this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_value,$price-&gt;price_currency_id); } if($this-&gt;params-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_AFTER_TAX'); } if($this-&gt;params-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_value_with_tax,$price-&gt;price_currency_id); }

in that view file.
That will revert the taxed price and the untaxed price. Then, you can use CSS to style the display and translations override to change the brackets and the excl. tax text.

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

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

- **[R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile")**
- [![R&#95;Fey's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7323-r-fey "View R&#95;Fey's Profile")
- [ Offline](/forum/user/7323-r-fey)

Less More

- Posts: 7
- Thank you received: 1
-
-

14 years 5 months ago [\#50154](#50154) by [R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile")  Replied by *[R\_Fey](/forum/user/7323-r-fey "View R&#95;Fey's Profile")* on topic *[Re: Pricedisplay: 100.00€ ( 119.00€ incl. Vat )?](/forum/4-how-to/49701-pricedisplay-100-00eur-119-00eur-incl-vat#50154 "I've found the CSS files to set up the Priceformatting so far, but is it possible to have Prices w/o VAT as default and only display price incl. Vat in brackets afterwards or even below the main price and smaller?  like this:    (595,00€ incl. VAT)  That format should be used in the whole shop (incl. Cart, shipping, category divs, etc.)  Kind regards, Adrian.  (p.s. could the topic be moved to How-To? I thought i was in that category when creating this thread)")*

Thank you very much. That did the trick.

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

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

[](#top)
