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

#   Email Order Summary items - Change position / remove

##

- **[BounceHouseOwner](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile")**
- [![BounceHouseOwner's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32544.jpg)](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile") Topic Author
- [ Offline](/forum/user/32544-bouncehouseowner)

Less More

- Posts: 90
- Thank you received: 2
-
-

8 years 9 months ago [\#287998](#287998) by [BounceHouseOwner](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile")  *[Email Order Summary items - Change position / remove](/forum/27-checkout/893812-email-order-summary-items-change-position-remove#287998 "-- HikaShop version -- : 3.2.2 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.x -- Browser(s) name and version -- : chrome / firefox -- Error-message(debug-mod must be tuned on) -- : N/A  How do you switch positions or remove these items? I tried using the language file, but it still leaves the line value.")* was created by *[BounceHouseOwner](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile")*

-- HikaShop version -- : 3.2.2 Business
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.x
-- Browser(s) name and version -- : chrome / firefox
-- Error-message(debug-mod must be tuned on) -- : N/A

How do you switch positions or remove these items?
I tried using the language file, but it still leaves the line value.

[ ![emailorder.jpg](/forum/attachment/42638) ](/forum/attachment/42638 "emailorder.jpg")

- [ ![emailorder.jpg](/forum/attachment/42638) ](/forum/attachment/42638 "emailorder.jpg") [ ](/forum/attachment/42638?download=1 "emailorder.jpg")

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

- **[BounceHouseOwner](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile")**
- [![BounceHouseOwner's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32544.jpg)](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile") Topic Author
- [ Offline](/forum/user/32544-bouncehouseowner)

Less More

- Posts: 90
- Thank you received: 2
-
-

8 years 9 months ago [\#287999](#287999) by [BounceHouseOwner](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile")  Replied by *[BounceHouseOwner](/forum/user/32544-bouncehouseowner "View BounceHouseOwner's Profile")* on topic *[Email Order Summary items - Change position / remove](/forum/27-checkout/893812-email-order-summary-items-change-position-remove#287999 "-- HikaShop version -- : 3.2.2 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.x -- Browser(s) name and version -- : chrome / firefox -- Error-message(debug-mod must be tuned on) -- : N/A  How do you switch positions or remove these items? I tried using the language file, but it still leaves the line value.")*

Looking to have that section be:

Subtotal: (total of items)
Tax: (tax on those items)
Delivery: (Delivery charge)
Total: (Total of everything)

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

8 years 9 months ago [\#288013](#288013) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Email Order Summary items - Change position / remove](/forum/27-checkout/893812-email-order-summary-items-change-position-remove#288013 "-- HikaShop version -- : 3.2.2 Business -- Joomla version -- : 3.8.5 -- PHP version -- : 7.x -- Browser(s) name and version -- : chrome / firefox -- Error-message(debug-mod must be tuned on) -- : N/A  How do you switch positions or remove these items? I tried using the language file, but it still leaves the line value.")*

Hi,

You need to modify this code in the preload section of the email: Code:

if(bccomp($data-&gt;cart-&gt;order_discount_price,0,5) != 0 &#124;&#124; bccomp($data-&gt;cart-&gt;order_shipping_price,0,5) != 0 &#124;&#124; bccomp($data-&gt;cart-&gt;order_payment_price,0,5) != 0 &#124;&#124; ($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value!=$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax) &#124;&#124; !empty($data-&gt;cart-&gt;additional)){ $cartFooters[] = array( 'NAME' =&gt; JText::_('SUBTOTAL'), 'VALUE' =&gt; $currencyHelper-&gt;format($subtotal,$data-&gt;cart-&gt;order_currency_id) ); } if(bccomp($data-&gt;cart-&gt;order_discount_price,0,5) != 0) { if($config-&gt;get('price_with_tax')) { $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_discount_price*-1,$data-&gt;cart-&gt;order_currency_id); }else{ $t = $currencyHelper-&gt;format(($data-&gt;cart-&gt;order_discount_price-@$data-&gt;cart-&gt;order_discount_tax)*-1,$data-&gt;cart-&gt;order_currency_id); } $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_COUPON'), 'VALUE' =&gt; $t ); } if(bccomp($data-&gt;cart-&gt;order_shipping_price,0,5) != 0){ if($config-&gt;get('price_with_tax')) { $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_shipping_price,$data-&gt;cart-&gt;order_currency_id); }else{ $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_shipping_price-@$data-&gt;cart-&gt;order_shipping_tax,$data-&gt;cart-&gt;order_currency_id); } $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_SHIPPING'), 'VALUE' =&gt; $t ); } if(bccomp($data-&gt;cart-&gt;order_payment_price,0,5) != 0){ if($config-&gt;get('price_with_tax')) { $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_payment_price, $data-&gt;cart-&gt;order_currency_id); } else { $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_payment_price - @$data-&gt;cart-&gt;order_payment_tax, $data-&gt;cart-&gt;order_currency_id); } $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_PAYMENT'), 'VALUE' =&gt; $t ); } if(!empty($data-&gt;cart-&gt;additional)) { $exclude_additionnal = explode(',', $config-&gt;get('order_additional_hide', '')); foreach($data-&gt;cart-&gt;additional as $additional) { if(in_array($additional-&gt;order_product_name, $exclude_additionnal)) continue; if(!empty($additional-&gt;order_product_price)) $additional-&gt;order_product_price = (float)hikashop_toFloat($additional-&gt;order_product_price); if(!empty($additional-&gt;order_product_price) &#124;&#124; empty($additional-&gt;order_product_options)) { if($config-&gt;get('price_with_tax')){ $t = $currencyHelper-&gt;format($additional-&gt;order_product_price + @$additional-&gt;order_product_tax, $data-&gt;cart-&gt;order_currency_id); }else{ $t = $currencyHelper-&gt;format($additional-&gt;order_product_price, $data-&gt;cart-&gt;order_currency_id); } } else { $t = $additional-&gt;order_product_options; } $cartFooters[] = array( 'NAME' =&gt; JText::_($additional-&gt;order_product_name), 'VALUE' =&gt; $t ); } } if($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value!=$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax) { if($config-&gt;get('detailed_tax_display') &amp;&amp; !empty($data-&gt;cart-&gt;order_tax_info)) { foreach($data-&gt;cart-&gt;order_tax_info as $tax) { $cartFooters[] = array( 'NAME' =&gt; $tax-&gt;tax_namekey, 'VALUE' =&gt; $currencyHelper-&gt;format($tax-&gt;tax_amount,$data-&gt;cart-&gt;order_currency_id) ); } } else { $cartFooters[] = array( 'NAME' =&gt; JText::_('ORDER_TOTAL_WITHOUT_VAT'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value,$data-&gt;cart-&gt;order_currency_id) ); } $cartFooters[] = array( 'NAME' =&gt; JText::_('ORDER_TOTAL_WITH_VAT'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$data-&gt;cart-&gt;order_currency_id) ); } else { $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_TOTAL'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$data-&gt;cart-&gt;order_currency_id) ); }

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

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