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

#   Change layout of "Totals" section of order emails

##

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

Less More

- Posts: 55
- Thank you received: 3
-
-

11 years 4 months ago [\#206577](#206577) by [netpastor](/forum/user/9934-netpastor "View netpastor's Profile")  *[Change layout of "Totals" section of order emails](/forum/2-general-talk-about-hikashop/877834-change-layout-of-totals-section-of-order-emails#206577 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  I would like to rearrange the order that the shipping and coupon totals are displayed in order emails. I have changed the display for HIKASHOP&#95;COUPON to&quot; Shipping Discount&quot; with a language override.  My coupon is a discount on shipping, so I want to have it display after the shipping amount. I have been able to change it for the cart display but can't work out how to do it for emails. So I want the order of totals in the email to be the same order as in the cart.  Thanks.")* was created by *[netpastor](/forum/user/9934-netpastor "View netpastor's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1

I would like to rearrange the order that the shipping and coupon totals are displayed in order emails.
I have changed the display for HIKASHOP_COUPON to" Shipping Discount" with a language override.

My coupon is a discount on shipping, so I want to have it display after the shipping amount.
I have been able to change it for the cart display but can't work out how to do it for emails.
So I want the order of totals in the email to be the same order as in the cart.

Thanks.

- [ ![email-view.jpg](/forum/attachment/25234) ](/forum/attachment/25234 "email-view.jpg") [ ](/forum/attachment/25234?download=1 "email-view.jpg")
- [ ![cart-view.jpg](/forum/attachment/25235) ](/forum/attachment/25235 "cart-view.jpg") [ ](/forum/attachment/25235?download=1 "cart-view.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3NzgzNC1jaGFuZ2UtbGF5b3V0LW9mLXRvdGFscy1zZWN0aW9uLW9mLW9yZGVyLWVtYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 4 months ago [\#206589](#206589) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change layout of "Totals" section of order emails](/forum/2-general-talk-about-hikashop/877834-change-layout-of-totals-section-of-order-emails#206589 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  I would like to rearrange the order that the shipping and coupon totals are displayed in order emails. I have changed the display for HIKASHOP&#95;COUPON to&quot; Shipping Discount&quot; with a language override.  My coupon is a discount on shipping, so I want to have it display after the shipping amount. I have been able to change it for the cart display but can't work out how to do it for emails. So I want the order of totals in the email to be the same order as in the cart.  Thanks.")*

Hi,

So you have to edit the preload part of the email, and change the order of the "$cartFooters[]" elements as you want.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3NzgzNC1jaGFuZ2UtbGF5b3V0LW9mLXRvdGFscy1zZWN0aW9uLW9mLW9yZGVyLWVtYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.058 seconds

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