Optional
addOptional
addIf this is implemented the function is called if the customer would like to purchase the items identified in the items parameter.
No size selection happened yet.
This callback could show a screen for the user to select garment sizes, etc.
Array of IDs of the garments the customer would like to purchase
Optional
allowOptional
allowReturns the currency for a given garment.
Unique ID of the garment
Returns the price of a given garment.
Unique ID of the garment
Returns the strike price of a given garment, if applicable
Unique ID of the garment
The Commerce Provider is responsible for displaying product prices (including currency formatting) and handling the
Add to Cart
functionality. To customise this behaviour, you must implement the following interface.