Developers

Ecommerce scripts

On every site with an active store and at least one Product, there are two globally accessible objects available: Voog.buyButtonsManager and Voog.ShoppingCart. Generally, they operate no their own with no outside input. However, there are cases where it would be beneficial to handle the whole checkout flow manually. For this purpose, we've exposed the most common methods.

To disable the default scripts, call this line of Javascript somewhere in the layout.
Voog.ecommerceConfig = {autoRun: false};