This section includes a list of supported by the module custom hooks.
LagomOrderFormProductsList
- allows you to modify the list of products that will be displayed to the customer.add_hook('LagomOrderFormProductsList',1, function($productList){
return $productsList
});
ShoppingCartValidateProductUpdate
- allows you to include your own validation and error messages when a product in the shopping cart is being updated.add_hook('ShoppingCartValidateProductUpdate', 1, function($vars) {
return [
'Error message feedback error 1',
'Error message feedback error 2',
];
});