cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying tax area in CCO print templates

gunther_sandtner2
Product and Topic Expert
Product and Topic Expert
0 Kudos
367

In the Customer Checkout 2.0, we enter the total effective taxes.

In some province we need to split the taxes in 2. (Federal and Provincial) for display purposed.

The total amount is already calculated correctly by Customer Checkout.

If I understand correctly, I will need to get familiar with the Freemarker framework to modify the JPOS or FOP template.

Could you confirm that I am in the right direction for that one.

Accepted Solutions (1)

Accepted Solutions (1)

bikash_bansal
Product and Topic Expert
Product and Topic Expert

Hello,

There are some ways to achieve it. One way is as explained by Joerg.

If this is only about printing and without storing these calculations then
For example for changing the 80mm print, you can modify the
SalesReceiptPrintTemplate80mm.xsl and change how the taxes are printed. It is also recommended to create new SalesReceiptPrintTemplate80mm.xsl and change that.
In the screenshot below, i have modified the tax amount so that tax amount is multiplied by 10 and printed.



If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.


Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

Answers (1)

Answers (1)

JoergAldinger
Active Contributor

Hello Gunther:

This is a good question, that, as far as I can tell, is not possible yet without a plugin. We have the same situation in the D.R. and do it like this:

  1. Set up combined tax rate (28%) in CCO
  2. Using plugin, recalculate individual taxes (10%, 18%)
  3. Using plugin, inject recalculated values (and descriptions) into print template

It would be much better if CCO could support this type of scenario out of the box, so if there's an IR, please post the link here! 🙂

Best regards,

Joerg.