Adding Savings to the Custom Order Panel

Modified on Mon, Nov 11, 2019 at 2:13 PM

You can display savings to your customers based on price breaks in the system by adding the functionality to the products bootstrap template.


To add navigate to the products bootstrap template go to manage products / company products and click to edit the product.


Under the options menu select bootstrap


In the order panel section import sample code if the order panel is not currently being used and add the following under the price:


<div id="divSavings" data-prefix="Savings: " data-postfix="">{Savings}</div>


Manadatory:

id must be "divSavings"

Optional:

The data-prefix attribute contains text to be prefixed to the actual amount represented by {Savings}. 

The data-postfix attribute contains text to be added after the actual amount.






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article