Class bkap_attributes
Class for Attribute Level lockout
Author: Tyche Softwares
Class: bkap_attributes
Located at attribute-lockout.php
Methods summary
public
|
|
public
|
#
add_attribute_fields( )
Adds the fields from the Booking plugin to be displayed in Product Data->Attributes |
public
|
|
public
|
#
print_attribute_lockout( $product_id )
Add hidden fields on the product page with attribute booking & lockout details |
public
|
#
validate_attribute_multiple_days_product_page( )
Validate attribute availability when product is added to the cart for Multiple Day Booking Products |
public
|
#
validate_attribute_single_days_product_page( )
Validate the availability of the attrbiutes when the product is added to the Cart for Single Day Booking Products |
public
|
#
validate_attribute_date_time_product_page( )
Validate the attribute availability when product is added to the Cart for Date & Time Booking Products |
public
|
#
validate_attribute_multiple_days_cart_page( )
Validate attribute availability on the Cart and Checkout pages for Multiple Day Booking products |
public
|
#
validate_attribute_single_days_cart_page( )
Validate attribute availability on Cart & checkout pages for Single Day Booking Product |
public
|
#
validate_attribute_date_time_cart_page( )
Validate attribute availability on Cart & Checkout pages for Date & Time Booking products |