Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-discounts.php / Page 2

WC_Discounts::validate_coupon_usage_limit()

Method: Ensure coupon usage limit is valid or throw exception.

Source: includes/class-wc-discounts.php:601

Used by 1 function | Uses 1 function

WC_Discounts::validate_coupon_user_usage_limit()

Method: Ensure coupon user usage limit is valid or throw exception.

Source: includes/class-wc-discounts.php:650

Used by 1 function | Uses 0 functions

WC_Discounts::validate_coupon_expiry_date()

Method: Ensure coupon date is valid or throw exception.

Source: includes/class-wc-discounts.php:685

Used by 1 function | Uses 0 functions

WC_Discounts::validate_coupon_minimum_amount()

Method: Ensure coupon amount is valid or throw exception.

Source: includes/class-wc-discounts.php:701

Used by 1 function | Uses 3 functions

WC_Discounts::validate_coupon_maximum_amount()

Method: Ensure coupon amount is valid or throw exception.

Source: includes/class-wc-discounts.php:720

Used by 1 function | Uses 3 functions

WC_Discounts::validate_coupon_product_ids()

Method: Ensure coupon is valid for products in the list is valid or throw exception.

Source: includes/class-wc-discounts.php:739

Used by 1 function | Uses 1 function

WC_Discounts::sort_by_price()

Method: Sort by price.

Source: includes/class-wc-discounts.php:291

Used by 0 functions | Uses 0 functions

WC_Discounts::filter_products_with_price()

Method: Filter out all products which have been fully discounted to 0.

Source: includes/class-wc-discounts.php:308

Used by 0 functions | Uses 1 function

WC_Discounts::get_items_to_apply_coupon()

Method: Get items which the coupon should be applied to.

Source: includes/class-wc-discounts.php:319

Used by 1 function | Uses 2 functions

WC_Discounts::apply_coupon_percent()

Method: Apply percent discount to items and return an array of discounts granted.

Source: includes/class-wc-discounts.php:346

Used by 1 function | Uses 8 functions
« Previous 1 2 3 … 5 Next »
Proudly powered by WordPress