simpleCart(js)

items
Items:
Total:

'beforeCheckout' Event

The ‘beforeCheckout’ event is triggered just before simpleCart checks out.  It passes a single parameter of the data that will be sent out in the checkout, which can be modified or added to.

// simple callback example
simpleCart.bind( 'beforeCheckout' , function( data ){
  data.invoiceNumber = "ABC-123456789";
});

 

Comments

  1. There are no comments for this entry yet.
Commenting is not available in this channel entry.