Welcome Guest! To enable all features please try to register or login.
Options
Go to last post Go to first unread
Offline Reto Cossalter  
#1 Posted : Monday, March 18, 2019 5:53:23 AM(UTC)
Reto Cossalter

Rank: Advanced Member

Reputation:

Groups: HCC-Partner, Registered, Registered Users, Subscribers
Joined: 6/9/2017(UTC)
Posts: 47

Thanks: 24 times
Was thanked: 24 time(s) in 21 post(s)
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]?
Offline Will Strohl  
#2 Posted : Thursday, April 25, 2019 1:18:39 PM(UTC)
Will Strohl

Rank: Administration

Reputation:

Groups: Administrators, HCC-Employee-Store-Manager, HCC-Employee-Support, HCC-Partner, Moderators, Partners, Registered, Registered Users, Subscribers
Joined: 12/22/2016(UTC)
Posts: 342
United States

Thanks: 78 times
Was thanked: 59 time(s) in 57 post(s)
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
thanks 1 user thanked Will Strohl for this useful post.
Reto Cossalter on 4/26/2019(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.166 seconds.

Notification

Icon
Error

Loading
  • Sign-up for the Hotcakes Community Newsletter: