Methods

The following methods may be used for the Vinoshipper Cart.

Open & Close Methods

The Cart will always close when the user interacts outside of of an opened Cart, interacts with the Cart's close button, or hits the ESC key.

cartOpen()

This method will open the Cart.

window.Vinoshipper.cartOpen();

cartClose()

Forces the closure of the Cart UI. If already closed, the cart will do nothing.

Note: The user will always be able to close the Cart UI when opened.

window.Vinoshipper.cartClose();