Hello all!
I have recently been trying to set up some custom pricing formulae when generating quotes - something outside of the usual “rate times quantity equals amount”.
I have managed to make a Client Script that automatically updates the “rate” and “amount” fields when the “quantity” field is updated, and when the “refresh” trigger happens.
However, when in the front-end and dealing with the Shopping Cart (in the E-Commerce Module “Frappe Webshop”), nothing triggers. I assume this is because the Client Script can only be triggered when one is editing a Quotation directly - I would need to find out what triggers the Shopping Cart has.
When a customer edits the quantity of a Quotation Item within a Quote in the Shopping Cart interface, what trigger/event/hook can I use to run the necessary code to get them a dynamic price that updates immediately?
Thanks in advance!