Thread:Koppadasao/@comment-26828130-20180607142520/@comment-1744236-20180608110954

Internally the discount parameter is converted into a #var, so there’s room for additions. You can easily add a discounttype parameter having its options converted into the #var, or use a template to calculate the discount parameter

The more open ended the template is, the easier it is to make additions to it