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

#   summary order

##

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

Less More

- Posts: 84
- Thank you received: 0
-
-

12 years 7 months ago [\#151341](#151341) by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")  *[summary order](/forum/27-checkout/867288-summary-order#151341 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")* was created by *[lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,

I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several "*options*" of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:

kindly,

Claire

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

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

Less More

- Posts: 846
- Thank you received: 92
-
-

12 years 7 months ago [\#151348](#151348) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[summary order](/forum/27-checkout/867288-summary-order#151348 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")*

Hi
The url you give goes to [ ](http://website.1and1.com/#top)[ website.1and1.com/#top](http://website.1and1.com/#top)

regard's

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

12 years 7 months ago [\#151363](#151363) by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")  Replied by *[lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")* on topic *[summary order](/forum/27-checkout/867288-summary-order#151363 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")*

True, the website is the standard used in the forum message. I didn't include as the adjustments to the core php that I was asking about didn't really warrant it...if the site still interests :

[ ](http://stlena.dekerpelbarclay.com/index.php/component/hikashop/checkout?Itemid=149)[ stlena.dekerpelbarclay.com/index.php/com.../checkout?Itemid=149](http://stlena.dekerpelbarclay.com/index.php/component/hikashop/checkout?Itemid=149)

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

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

Less More

- Posts: 846
- Thank you received: 92
-
-

12 years 7 months ago [\#151415](#151415) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[summary order](/forum/27-checkout/867288-summary-order#151415 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")*

Hi
Can you give a direct url to the issue page .

Can you inform us if we need to register to access to the page ?
if yes could you give a user / password for test purpose .

Can you take a capteur screen with what i have and what i want ?

Reard's

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

12 years 7 months ago [\#151451](#151451) by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")  Replied by *[lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")* on topic *[summary order](/forum/27-checkout/867288-summary-order#151451 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")*

Hi Lionel,

The "issue" is in the checkout process. Thus one has to engage in an order so it can be seen, which requires registration....

Here is a screenshot if you aren't wanting to go through those processes: [ ](http://awesomescreenshot.com/0002mh2u19)[ awesomescreenshot.com/0002mh2u19](http://awesomescreenshot.com/0002mh2u19)

The aim is to move taxes (in this case labelled TVA) to above the total (in this case renamed Sous-Total)
I understand which file to edit (cart/checkout.php) I am just not clearly identifying the right block(s) :blush:

thanks again,

Luke

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#151481](#151481) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[summary order](/forum/27-checkout/867288-summary-order#151481 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")*

Hello Luke,
The solution will be to move these lines : Code:

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 echo $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 echo $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; &lt;?php } } 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 echo $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 echo $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; &lt;?php } }

just after the line : Code:

$taxes = round($this-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax-$this-&gt;full_total-&gt;prices[0]-&gt;price_value,$this-&gt;currencyHelper-&gt;getRounding($this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id));

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

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

12 years 7 months ago [\#151602](#151602) by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")  Replied by *[lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")* on topic *[summary order](/forum/27-checkout/867288-summary-order#151602 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  I am having no luck swapping the position of taxes to above the sub-total (taxes, sub-total, delivery, final total) in the checkout summary. I have tried several &quot;options&quot; of blocks of code within the cart/checkout.php but only have managed to vanish the taxes :blush:  kindly,  Claire")*

Thanks Mohamed worked perfectly!

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

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