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_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::validate_coupon_product_categories()

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

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

Used by 1 function | Uses 2 functions

WC_Discounts::apply_coupon_remainder()

Method: Deal with remaining fractional discounts by splitting it over items until the amount is expired, discounting 1 cent at a time.

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

Used by 2 functions | 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
« Previous 1 2 3 … 5 Next »
Proudly powered by WordPress