Class prdd_validation
Availability check on product page class
Package: Product-Delivery-Date-Pro-for-WooCommerce\Frontend
Author: Tyche Softwares
Since: 1.0
Located at prdd-validation.php
Author: Tyche Softwares
Since: 1.0
Located at prdd-validation.php
Methods summary
public static
boolean
|
#
prdd_get_validate_add_cart_item( boolean $passed, integer $product_id, integer $qty )
This functions validates the Availability for the selected date and timeslots. |
public static
string
|
#
prdd_get_quantity( integer $post_id )
Checks the availabilty for the selected date and timeslot when the product is added to cart. If availability is less then selected it prevents product from being added to the cart and displays an error message. |
public static
|
#
prdd_quantity_check( )
Checks availability for date and time slot on the cart page when quantity on cart page is changed. |