Feature Requests
Share ideas, discuss and vote on requests from other users in community
This object is in archive! 

Add net price merge field to upgradesummaryorder.tpl

Bernhard Gueth shared this idea 1 year ago
Under Consideration


when called from upgrade.php, upgradesummaryorder.tpl does not contain variables for the prices without tax. I would like to have for each item and each total the gross prices and the net prices.

For now, the template is quite misleading, since it states

item A x 2 $2.00

item B $3.00

Subtotal $5.00

20% Tax $1.00

Total $5.00

I would like to remake this template

item A x 2 $1.67

item B $2.50

Subtotal $4.17

20% Tax $0.83

Total $5.00

But unfortunately the net prices aren't available.

With best regards


Comments (1)



Thanks for your suggestion.

With WHMCS custom variables can be added to templates using our flexible action hooks system.

The Client Area Page hook points can be used to create your own smarty variables to use on the client area pages.

More information is available at: http://docs.whmcs.com/Templates_and_Custom_PHP_Logic