Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • BKAP
    • Addons
    • Admin-Bookings
    • Attribute-Lockout
    • Block-Pricing
    • Booking-Box
    • Booking-Confirmation
    • Booking-Process
    • Cancel-Order
    • Cart
    • Checkout-Process
    • Core
    • Date-Time
    • Emails
    • Functions
    • Global-Function
    • Global-Settings
    • Google-Calendar-Sync
    • ICS
    • Import-Booking
    • Labels
    • License
    • Menus
    • Meta-Boxes
    • Reschedule
    • Resources
    • Search-Widget
    • Special-Price
    • Uninstall
    • Validation
    • Variation-Lockout
    • Vendors
      • Dokan
      • WC-Vendors
    • View-Bookings
  • None

Classes

  • bkap_attributes

Class bkap_attributes

Class for Attribute Level lockout

Package: BKAP\Attribute-Lockout
Author: Tyche Softwares
Class: bkap_attributes
Located at attribute-lockout.php

Methods summary

public
# __construct( )

Default constructor

Default constructor

Since

2.5.3
public
# add_attribute_fields( )

Adds the fields from the Booking plugin to be displayed in Product Data->Attributes

Adds the fields from the Booking plugin to be displayed in Product Data->Attributes

Since

2.5.3

Hook

woocommerce_product_options_attributes
public
# bkap_save_attribute_data( )

Save the booking data when attributes are being saved

Save the booking data when attributes are being saved

Since

2.5.3
public
# print_attribute_lockout( $product_id )

Add hidden fields on the product page with attribute booking & lockout details

Add hidden fields on the product page with attribute booking & lockout details

Since

2.5.3

Hook

bkap_print_hidden_fields
public
# validate_attribute_multiple_days_product_page( )

Validate attribute availability when product is added to the cart for Multiple Day Booking Products

Validate attribute availability when product is added to the cart for Multiple Day Booking Products

Since

2.5.3

Hook

bkap_multiple_days_product_validation
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

Validate the availability of the attrbiutes when the product is added to the Cart for Single Day Booking Products

Since

2.5.3

Hook

bkap_single_days_product_validation
public
# validate_attribute_date_time_product_page( )

Validate the attribute availability when product is added to the Cart for Date & Time Booking Products

Validate the attribute availability when product is added to the Cart for Date & Time Booking Products

Since

2.5.3

Hook

bkap_date_time_product_validation
public
# validate_attribute_multiple_days_cart_page( )

Validate attribute availability on the Cart and Checkout pages for Multiple Day Booking products

Validate attribute availability on the Cart and Checkout pages for Multiple Day Booking products

Since

2.5.3

Hook

bkap_multiple_days_cart_validation
public
# validate_attribute_single_days_cart_page( )

Validate attribute availability on Cart & checkout pages for Single Day Booking Product

Validate attribute availability on Cart & checkout pages for Single Day Booking Product

Since

2.5.3

Hook

bkap_single_days_cart_validation
public
# validate_attribute_date_time_cart_page( )

Validate attribute availability on Cart & Checkout pages for Date & Time Booking products

Validate attribute availability on Cart & Checkout pages for Date & Time Booking products

Since

2.5.3

Hook

bkap_date_time_cart_validation
API documentation generated by ApiGen