JS events

Event uni_cpo_set_price_event

This event is fired when the price has just been updated after price calculation is made. It receives a string value of the updated price.

Event uni_cpo_set_btn_state_event

Fires when price calculation has just been made and holds the value of the 'add to cart' button. It can be either true or false.

Class uni_add_to_cart

This class is added to 'add to cart' button and is used to add add to cart via ajax functionality. You can add this class to your custom button(s) and achieve the same effect.