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

#   Customise cart with included VAT prices

##

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 8 months ago [\#38735](#38735) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  *[Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#38735 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")* was created by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")*

Hi,
I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???

My question is relating to the cart and VAT.
Let's say I'm in France with a 19.6% VAT.

In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ [strike]50€[/strike]
When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT.
It's quite confusing if you check your cart with prices.

Could it be an option in configuration to choose if you want with or without VAT in the cart ?
And how to display prices in the cart like 45€ [strike]50€[/strike] (like in the catalogue).

PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?

Thanks. Regards.

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

Less More

- Posts: 86320
- Thank you received: 14277
-
-

14 years 8 months ago [\#38914](#38914) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#38914 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Hi,

Indeed, you won't get the new features if you had customized the views where the new features are. It's however way better than just have you will store break each time you update because you had made changes a bit everywhere and you need to reapply them all.
With our system, your website doesn't break when you update and if you need a feature which is in one of the views you customized, you can always save your changes, delete the customization and then reapply you changes to the new version of the view.

There is an option in the cart module to display the prices with or without VAT. It is available in the hikashop options of the cart module.
For the cart display on the checkout, there is no option for that. You would have to do like that:
[ www.hikashop.com/en/forum/4-how-to/28960...-with-tax.html#28986](http://www.hikashop.com/en/forum/4-how-to/28960-display-price-with-tax.html#28986)

If you want to display the prices with the discount in the cart, you will have to edit the file "cart" of the view "checkout" and/or "product" via the menu Display-&gt;Views and add a line like that:
$this-&gt;params-&gt;set('show_discount',1);

It's the file "listing_price" of the same views which will display the prices based on that option and also "price_with_tax" so you can also change it if you want to display the prices with tax: $this-&gt;params-&gt;set('price_with_tax',1);

The following user(s) said Thank You: [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile"), [ALEXIAC](/forum/user/5711-alexiac "View ALEXIAC's Profile")

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

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 8 months ago [\#39002](#39002) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#39002 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Thanks Nicolas
It would be nice to have something in views to show if the original views are updated, even if you have customised it.
Then if you see a modification, you can try the new one.

Another idea, instead of the bin to delete the view, a switch between personalised and original or updated views.

Once again, congratulations for this great component.
Regards

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

Less More

- Posts: 86320
- Thank you received: 14277
-
-

14 years 8 months ago [\#39089](#39089) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#39089 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Thank you for your feedback.

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

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 8 months ago -  14 years 8 months ago [\#40026](#40026) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#40026 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Hi Nicolas,
I tried your suggestions in views checkout/cart.php in Code:

&lt;td class="hikashop_cart_product_price_value"&gt; &lt;?php $this-&gt;row=&amp;$row; $this-&gt;unit=true; echo $this-&gt;loadTemplate(); ?&gt; &lt;/td&gt;

$this-&gt;params-&gt;set('show_discount',1); displays the discount value ( ex : -10%)

$this-&gt;params-&gt;set('price_with_tax',1); displays the Price with Tax AFTER THE DISCOUNT

How to display the Price with Tax BEFORE THE DISCOUNT ?
(I don't understand the logic of the code)

Thanks a lot for your help.
Regards

PS : it would be nice to have a little developper documentation on that topic.

Last edit: 14 years 8 months ago by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile").

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

Less More

- Posts: 86320
- Thank you received: 14277
-
-

14 years 8 months ago [\#40224](#40224) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#40224 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

The simplest is to replace the call to that template file by just that:
echo $this-&gt;currencyHelper-&gt;format($row-&gt;prices[0]-&gt;price_value_without_discount_with_tax,$row-&gt;prices[0]-&gt;price_currency_id);

Otherwise, you would be able to achieve the display of the price with tax before discount but you would also have the price after discount next to it and there is no option to not have it.

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

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 7 months ago [\#43957](#43957) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#43957 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Thanks Nicolas,
it works fine, but for the product, it is the **total** price VAT included (for all the quantity purchased)

I would like the **unit price** VAT included and before discount (like in the backend)
I'd like, whatever the quantity is : 45€ [strike]50€[/strike]

Thanks for your help.
Regards.

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

Less More

- Posts: 86320
- Thank you received: 14277
-
-

14 years 7 months ago [\#44106](#44106) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#44106 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Then like that:
echo $this-&gt;currencyHelper-&gt;format($row-&gt;prices[0]-&gt;price_value_without_discount_with_tax/$row-&gt;cart_product_quantity,$row-&gt;prices[0]-&gt;price_currency_id);

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

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

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 6 months ago -  14 years 6 months ago [\#46865](#46865) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#46865 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

Now that I installed Essential version and have discounts on some products and not all, I have a new problem :
1) for products with discounts, display is ok (45€ [strike]50€[/strike])
2) for products with no discount, display is 45€ [strike]0€[/strike]

Of course, I could compare price to 0 and not display null price, but is there a flag or something clever showing that there is no discount ???
That would also avoid round pbs to 0 tests.
Thanks.

Last edit: 14 years 6 months ago by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile").

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

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 6 months ago [\#48755](#48755) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#48755 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

No idea, Nicolas ?
Thanks

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

Less More

- Posts: 86320
- Thank you received: 14277
-
-

14 years 6 months ago [\#48789](#48789) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Customise cart with included VAT prices](/forum/4-how-to/38735-customise-cart-with-included-vat-prices#48789 "Hi, I understood the principle of view customisation, but what happen if there are enhancements with updates ? You don't even see it !!! ???  My question is relating to the cart and VAT. Let's say I'm in France with a 19.6% VAT.  In my catalogue, I have a product displayed at 50€ and discounted at 10%. It is displayed including VAT : 45€ &#91;strike&#93;50€&#91;/strike&#93; When it's added to the cart, the customer see the product at 37.63€ because the cart is displayed without VAT. It's quite confusing if you check your cart with prices.  Could it be an option in configuration to choose if you want with or without VAT in the cart ? And how to display prices in the cart like 45€ &#91;strike&#93;50€&#91;/strike&#93; (like in the catalogue).  PS : this is probably a dummy question, but maybe you could provide a documentation page for programmers explaining all methods to display prices ?  Thanks. Regards.")*

If you look at the default view file, you will see that line:
if(!empty($this-&gt;row-&gt;discount)){

which tells the system whether there is a discount or not. So you can just do the same.

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

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

[](#top)
