Price of an item based on the total of the sales order(not tiered)
Summary:
An item called "Certificate" needs to be a certain percentage of the total of the order
For example,
If an order has 5 items each 100 USD, the total would be 500 USD, and i need to add the item Certificate which should calculate the price at 5 %
When i add the item "Certificate", it should calculate the price at 25 USD
If i add another line worth 100 USD,the total would be 600 USD so the item "Certificate" should cost 30 USD which is 5 percent of 600
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):