Definition of important onClick functions in the app

  1. Important button on click functions → affirmButton.onclick -> sessionStorage.setItem("paySource", "affirm") klarnaButton.onclick -> sessionStorage.setItem("paySource", "KLARNA") sezzleButton.onclick -> sessionStorage.setItem("paySource", "SEZZLE") afterpayButton.onclick -> sessionStorage.setItem("paySource", "AFTERPAY") paypalButton.onclick -> sessionStorage.setItem("paySource", "PAYPAL") appleButton.onclick -> sessionStorage.setItem("paySource","APPLEPAY")

  2. On click functionalities for actions on links and buttons →

Buttons

Links

None, Apply Coupon in Action Trait

Not Present

Present

Add To Cart, Open Popup

Present

Present

Action elements methods

linkMethod(event),linkMethod(event, true),slideWithoutHideForm(attributes, event),slideForm(attributes, event),slideMethod(attributes, event)

callMethod(event),toggleProductSelection(event),callMethod(event),route(event),slideWithoutHideForm(attributes, event),slideForm(attributes, event),slideMethod(attributes, event),openPopUp(),applyCoupon(event),