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

#   Need to show required price addition

##

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

Less More

- Posts: 137
- Thank you received: 2
-
-

13 years 2 months ago [\#122460](#122460) by [1fcb](/forum/user/337-1fcb "View 1fcb's Profile")  *[Need to show required price addition](/forum/27-checkout/861778-need-to-show-required-price-addition#122460 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- :3.1.5  Hi, German law requires to depict behind each and every price listing to add a phrase saxing &quot;(includes 19% MWSt)&quot; or to show a disclaimer on all pages with prices that shown prices include the 19% VAT. Up to now I have complied in adding just the above term in my German language file for the HIKASHOP&#95;FINAL&#95;TOTAL and translating the PER&#95;UNIT into (enthält 19% MWSt). With this solution it is shown right next to each price on the category listing, product page, cart and checkout.  I now realize that if someone from Switzerland (German speaking but prices do not contain VAT) gets the same message, however he should read (excludes VAT).  How could I accomplish this? I think one option would be to display on each page the footnote:&quot; Prices contain 19% MWSt&quot; if the client is in a country where VAT applies and the remark &quot;Prices do not contain VAT). And how can I make sure this footnote is shown on each page?  The other option (preferred) would be to show the correct remark next to each price. How could I accomplish that?")* was created by *[1fcb](/forum/user/337-1fcb "View 1fcb's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.2.1
-- Joomla version -- ![:3](/smile3.gif ":3").1.5

Hi, German law requires to depict behind each and every price listing to add a phrase saxing "(includes 19% MWSt)" or to show a disclaimer on all pages with prices that shown prices include the 19% VAT. Up to now I have complied in adding just the above term in my German language file for the HIKASHOP_FINAL_TOTAL and translating the PER_UNIT into (enthält 19% MWSt). With this solution it is shown right next to each price on the category listing, product page, cart and checkout.

I now realize that if someone from Switzerland (German speaking but prices do not contain VAT) gets the same message, however he should read (excludes VAT).

How could I accomplish this? I think one option would be to display on each page the footnote:" Prices contain 19% MWSt" if the client is in a country where VAT applies and the remark "Prices do not contain VAT). And how can I make sure this footnote is shown on each page?

The other option (preferred) would be to show the correct remark next to each price. How could I accomplish that?

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

13 years 2 months ago [\#122464](#122464) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Need to show required price addition](/forum/27-checkout/861778-need-to-show-required-price-addition#122464 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- :3.1.5  Hi, German law requires to depict behind each and every price listing to add a phrase saxing &quot;(includes 19% MWSt)&quot; or to show a disclaimer on all pages with prices that shown prices include the 19% VAT. Up to now I have complied in adding just the above term in my German language file for the HIKASHOP&#95;FINAL&#95;TOTAL and translating the PER&#95;UNIT into (enthält 19% MWSt). With this solution it is shown right next to each price on the category listing, product page, cart and checkout.  I now realize that if someone from Switzerland (German speaking but prices do not contain VAT) gets the same message, however he should read (excludes VAT).  How could I accomplish this? I think one option would be to display on each page the footnote:&quot; Prices contain 19% MWSt&quot; if the client is in a country where VAT applies and the remark &quot;Prices do not contain VAT). And how can I make sure this footnote is shown on each page?  The other option (preferred) would be to show the correct remark next to each price. How could I accomplish that?")*

Hi,

If you want to display a different PER_UNIT message, edit the file "listing_price" via Display-&gt;Views and change the code:
echo JText::_('PER_UNIT');
to:
if($price-&gt;price_value==$price-&gt;price_value_with_tax){echo' (excludes VAT)';}else{echo ' (includes VAT)';}

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

13 years 2 months ago [\#122526](#122526) by [1fcb](/forum/user/337-1fcb "View 1fcb's Profile")  Replied by *[1fcb](/forum/user/337-1fcb "View 1fcb's Profile")* on topic *[Need to show required price addition](/forum/27-checkout/861778-need-to-show-required-price-addition#122526 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- :3.1.5  Hi, German law requires to depict behind each and every price listing to add a phrase saxing &quot;(includes 19% MWSt)&quot; or to show a disclaimer on all pages with prices that shown prices include the 19% VAT. Up to now I have complied in adding just the above term in my German language file for the HIKASHOP&#95;FINAL&#95;TOTAL and translating the PER&#95;UNIT into (enthält 19% MWSt). With this solution it is shown right next to each price on the category listing, product page, cart and checkout.  I now realize that if someone from Switzerland (German speaking but prices do not contain VAT) gets the same message, however he should read (excludes VAT).  How could I accomplish this? I think one option would be to display on each page the footnote:&quot; Prices contain 19% MWSt&quot; if the client is in a country where VAT applies and the remark &quot;Prices do not contain VAT). And how can I make sure this footnote is shown on each page?  The other option (preferred) would be to show the correct remark next to each price. How could I accomplish that?")*

Hi, this is exact what I was looking for. Now I want to include this into cart as well to show incl VAT or excl VAT for the HIKASHOP_FINAL_TOTAL.

However this exact solution does not work. It would show always excl VAT. Could you help me with the correct syntax to include after the line
&lt;?php echo JText::_('HIKASHOP_FINAL_TOTAL');

thanks in advance!

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

13 years 2 months ago [\#122600](#122600) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Need to show required price addition](/forum/27-checkout/861778-need-to-show-required-price-addition#122600 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.1 -- Joomla version -- :3.1.5  Hi, German law requires to depict behind each and every price listing to add a phrase saxing &quot;(includes 19% MWSt)&quot; or to show a disclaimer on all pages with prices that shown prices include the 19% VAT. Up to now I have complied in adding just the above term in my German language file for the HIKASHOP&#95;FINAL&#95;TOTAL and translating the PER&#95;UNIT into (enthält 19% MWSt). With this solution it is shown right next to each price on the category listing, product page, cart and checkout.  I now realize that if someone from Switzerland (German speaking but prices do not contain VAT) gets the same message, however he should read (excludes VAT).  How could I accomplish this? I think one option would be to display on each page the footnote:&quot; Prices contain 19% MWSt&quot; if the client is in a country where VAT applies and the remark &quot;Prices do not contain VAT). And how can I make sure this footnote is shown on each page?  The other option (preferred) would be to show the correct remark next to each price. How could I accomplish that?")*

You should use:
if($this-&gt;full_total-&gt;prices[0]-&gt;price_value==$this-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax){echo' (excludes VAT)';}else{echo ' (includes VAT)';}

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

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