CalcBuilder Forum

Show discounts

User moon_333 2012-03-02 10:05:30

Hello! Could you please tell me how could I create discounts like in your demo sample "Mail post service?" I just would like to show a discount, in a case if client orders multiple items!

Moonsoft support 2012-03-02 10:34:14

Hello,

You can download "Ship Cost (Web example)" in Customer Area. Unzip it and import the XML file in Calcbuilder.

To see fully working you may change in Javascript events:

getCBFormValueArray('5')

by

getCBFormValueArray('ID_DESTINY')

because the field id change on different calculators.

Take a look at calculator and you can see how you could use custom javascript in form. Calcbuilder use Mootools as javascript framework.


Hope this helps. Regards,

Moonsoft Team

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
List Manager

Build different lists for your site

Buy now!