Copy link to clipboard
Copied
Hi,
I have created a web form to receive payment through the event booking module. However the client would like to now add discount codes for various organizations (police, military, etc). How can I add this field to the custom web form?
Also, side question. Because of this I will need to set a fixed price to the amount. It will need to automatically populate for each event so that I do not have to create a custom web form each time for them.
Thanks!
Copy link to clipboard
Copied
You'll need to both of these things using javascript. The amount field will have to be manipulated with javascript depending ont he options your customers select and the discount codes they apply. Discount codes will have to reside inside your javascript or in a file someowhere on the site which can be accesed and read by javascript.
This may be a good place to start http://demo.businesscatalyst.com/booking-multiple-seats