Cart_Validation implements Premium_Service, Registerable

Handles validation of the WooCommerce cart for restaurant orders.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Premium_Service
Registerable

Table of Contents

CART_ITEM_KEY  = 'wro_restaurant_item'
add_cart_item_data()  : mixed
add_cart_item_data_hook()  : mixed
check_cart_items()  : mixed
register()  : mixed
remove_cart_item_data_hook()  : mixed

Constants

CART_ITEM_KEY

public mixed CART_ITEM_KEY = 'wro_restaurant_item'
Tags

Methods

add_cart_item_data()

public add_cart_item_data(mixed $cart_item_data) : mixed
Parameters
$cart_item_data : mixed
Tags
Return values
mixed

add_cart_item_data_hook()

public add_cart_item_data_hook() : mixed
Tags
Return values
mixed

check_cart_items()

public check_cart_items() : mixed
Tags
Return values
mixed

remove_cart_item_data_hook()

public remove_cart_item_data_hook() : mixed
Tags
Return values
mixed

Search results