Dev Resources

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

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

WC_Discounts::apply_coupon_fixed_product()

Method: Apply fixed product discount to items.

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

Used by 2 functions | Uses 5 functions

WC_Discounts::apply_coupon_fixed_cart()

Method: Apply fixed cart discount to items.

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

Used by 2 functions | Uses 4 functions

woocommerce_coupon_get_items_to_validate

Filter Hook: Discount calculation

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

Used by 0 functions | Uses 0 functions

WC_Discounts::get_discount()

Method: Get discount by key with or without precision.

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

Used by 1 function | Uses 1 function

WC_Discounts::get_discounts()

Method: Get all discount totals.

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

Used by 0 functions | Uses 1 function

WC_Discounts::get_discounts_by_item()

Method: Get all discount totals per item.

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

Used by 1 function | Uses 1 function

WC_Discounts::get_discounts_by_coupon()

Method: Get all discount totals per coupon.

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

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