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

#   Cart footer order

##

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

8 years 5 months ago [\#293464](#293464) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Cart footer order](/forum/27-checkout/894882-cart-footer-order#293464 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello!  in view file show&#95;block&#95;cart.php i tried to change the cart footer order but i need some help! The order i want is:  1. Price 2. Tax ammount 3. Shipping 4. Payment 5. Final price  Regards")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- PHP version -- : 7.0

Hello!

in view file show_block_cart.php i tried to change the cart footer order but i need some help!
The order i want is:

1. Price
2. Tax ammount
3. Shipping
4. Payment
5. Final price

Regards

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

8 years 5 months ago [\#293466](#293466) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart footer order](/forum/27-checkout/894882-cart-footer-order#293466 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello!  in view file show&#95;block&#95;cart.php i tried to change the cart footer order but i need some help! The order i want is:  1. Price 2. Tax ammount 3. Shipping 4. Payment 5. Final price  Regards")*

Hi,

That's the code for the taxes: Code:

if(!empty($this-&gt;options['show_price']) &amp;&amp; $taxes &gt; 0){ if($this-&gt;config-&gt;get('detailed_tax_display') &amp;&amp; isset($cart-&gt;full_total-&gt;prices[0]-&gt;taxes)) { foreach($cart-&gt;full_total-&gt;prices[0]-&gt;taxes as $tax) { ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $row_count - 2; ?&gt;" class="hikashop_cart_empty_footer"&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" data-title="&lt;?php echo $tax-&gt;tax_namekey; ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_taxes"&gt;&lt;?php echo $this-&gt;currencyClass-&gt;format($tax-&gt;tax_amount, $cart-&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;td colspan="&lt;?php echo $row_count - 2; ?&gt;" class="hikashop_cart_empty_footer"&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" data-title="&lt;?php echo Jtext::_('TAXES'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_taxes"&gt;&lt;?php echo $this-&gt;currencyClass-&gt;format($taxes, $cart-&gt;full_total-&gt;prices[0]-&gt;price_currency_id); ?&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } }

If you want to move taxes just after the subtotal, you can move that block of code just before that line: Code:

if(!empty($this-&gt;options['show_price']) &amp;&amp; !empty($cart-&gt;coupon)) {

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

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

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