Reto Cossalter
2019-03-18T10:53:23Z
Hello fellow Hotcakers

In Email-Templates, the token [[Order.ItemsTax]] displays total over all tax schedules.
Is there a way to display the total for each tax schedule?

For book keeping purposes, we need to assign the tax total to the corresponding tax account.
We want to avoid to manually sum the totals from each line item with a given tax schedule

Example:
article(s) with 7.6% Tax: Tax Amount = 0.67.-
article(s) with 2.4% Tax Tax Amount = 0.40.-

In the current order summary, only the tax total is displayed: Tax: 1.07.-
But the tax should be displayed in two lines, as the two taxes must be separated:
7.6% 0.67.-
2.4% 0.40.-

Any hint how to achieve this? Is there a [[Order.ItemsTax:TaxScheduleKey]?
Will Strohl
2019-04-25T18:18:39Z
This currently won't be possible without modifying the source code of Hotcakes to make the order total summary more flexible. I'd suggest documenting the exact needs in a new GitHub issue so that it may be included in a future release.

https://github.com/Hotca...kes-commerce-core/issues 

With that being said, it is possible to do this by modifying the viewset and using an order workflow task to override the e-mails that are generated, but it would be a lot of work for a single website.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Loading
  • Sign-up for the Hotcakes Community Newsletter: