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

#   Tax Display in Cart

##

- **[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 3 months ago [\#120338](#120338) by [1fcb](/forum/user/337-1fcb "View 1fcb's Profile")  *[Tax Display in Cart](/forum/35-orders-management/861398-tax-display-in-cart#120338 "-- HikaShop version -- : 2.2 -- Joomla version -- : 1.5  After migration to V2.2, the in the checkout the line taxes shows the &quot;MWSt Deutschland&quot;, so in general terms TAXES COUNTRY. However to comply with regulations it must read &quot;enth. MWSt (19%)&quot;.  In my langugage file I defined , however this does not change the display to the correct term, it still says MWSt Deutschland. What am I missing? I guess the code snippet causing the issues is in CHECKOUT&gt;CART php file. I figures it would be in these lines?  if(bccomp($taxes,0,5)){ if($this-&gt;config-&gt;get('detailed&#95;tax&#95;display') &amp;&amp; isset($this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;taxes)) { foreach($this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;taxes as $tax) { ?&gt;  params-&gt;get('show&#95;cart&#95;image')) echo ''; ?&gt;      tax&#95;namekey; ?&gt;    currencyHelper-&gt;format($tax-&gt;tax&#95;amount,$this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;currency&#95;id); ?&gt;      params-&gt;get('show&#95;cart&#95;image')) echo ''; ?&gt;          currencyHelper-&gt;format($taxes,$this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;currency&#95;id); ?&gt;   ")* was created by *[1fcb](/forum/user/337-1fcb "View 1fcb's Profile")*

-- HikaShop version -- : 2.2
-- Joomla version -- : 1.5

After migration to V2.2, the in the checkout the line taxes shows the "MWSt Deutschland", so in general terms TAXES COUNTRY. However to comply with regulations it must read "enth. MWSt (19%)".

In my langugage file I defined &lt;TAXES="enth. MWSt (19%)."&gt;, however this does not change the display to the correct term, it still says MWSt Deutschland. What am I missing? I guess the code snippet causing the issues is in CHECKOUT&gt;CART php file. I figures it would be in these lines?

if(bccomp($taxes,0,5)){
if($this-&gt;config-&gt;get('detailed_tax_display') &amp;&amp; isset($this-&gt;full_total-&gt;prices[0]-&gt;taxes)) {
foreach($this-&gt;full_total-&gt;prices[0]-&gt;taxes as $tax) {
?&gt;
&lt;tr&gt;
&lt;?php if($this-&gt;params-&gt;get('show_cart_image')) echo '&lt;td&gt;&lt;/td&gt;'; ?&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td id="hikashop_checkout_cart_tax_title" class="hikashop_cart_tax_title hikashop_cart_title"&gt;
&lt;?php echo $tax-&gt;tax_namekey; ?&gt;
&lt;/td&gt;
&lt;td class="hikashop_cart_tax_value"&gt;
&lt;span class="hikashop_checkout_cart_taxes"&gt;
&lt;?php
echo $this-&gt;currencyHelper-&gt;format($tax-&gt;tax_amount,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id);
?&gt;
&lt;/span&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;?php
}
} else {
?&gt;
&lt;tr&gt;
&lt;?php if($this-&gt;params-&gt;get('show_cart_image')) echo '&lt;td&gt;&lt;/td&gt;'; ?&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td id="hikashop_checkout_cart_tax_title" class="hikashop_cart_tax_title hikashop_cart_title"&gt;
&lt;?php echo JText::_('TAXES'); ?&gt;
&lt;/td&gt;
&lt;td class="hikashop_cart_tax_value"&gt;
&lt;span class="hikashop_checkout_cart_taxes"&gt;
&lt;?php
echo $this-&gt;currencyHelper-&gt;format($taxes,$this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id);
?&gt;
&lt;/span&gt;
&lt;/td&gt;
&lt;/tr&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2MTM5OC10YXgtZGlzcGxheS1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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: 14325
-
-

13 years 3 months ago [\#120385](#120385) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tax Display in Cart](/forum/35-orders-management/861398-tax-display-in-cart#120385 "-- HikaShop version -- : 2.2 -- Joomla version -- : 1.5  After migration to V2.2, the in the checkout the line taxes shows the &quot;MWSt Deutschland&quot;, so in general terms TAXES COUNTRY. However to comply with regulations it must read &quot;enth. MWSt (19%)&quot;.  In my langugage file I defined , however this does not change the display to the correct term, it still says MWSt Deutschland. What am I missing? I guess the code snippet causing the issues is in CHECKOUT&gt;CART php file. I figures it would be in these lines?  if(bccomp($taxes,0,5)){ if($this-&gt;config-&gt;get('detailed&#95;tax&#95;display') &amp;&amp; isset($this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;taxes)) { foreach($this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;taxes as $tax) { ?&gt;  params-&gt;get('show&#95;cart&#95;image')) echo ''; ?&gt;      tax&#95;namekey; ?&gt;    currencyHelper-&gt;format($tax-&gt;tax&#95;amount,$this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;currency&#95;id); ?&gt;      params-&gt;get('show&#95;cart&#95;image')) echo ''; ?&gt;          currencyHelper-&gt;format($taxes,$this-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;currency&#95;id); ?&gt;   ")*

HikaShop doesn't use anymore the tax translation key but your tax rate namekey.
So you can go in the menu System&gt;Taxes, create a new tax rate with the name you want, and edit your tax rules to use that new tax rate and that will do it. No need to edit any view.

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

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