Dev Resources

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

WC_Discounts::get_discounted_price()

Method: Get discounted price of an item without precision.

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

Used by 0 functions | Uses 2 functions

WC_Discounts::get_discounted_price_in_cents()

Method: Get discounted price of an item to precision (in cents).

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

Used by 7 functions | Uses 2 functions

WC_Discounts::apply_coupon()

Method: Apply a discount to all items using a coupon.

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

Used by 0 functions | Uses 6 functions

WC_Discounts

Class: Discounts class.

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

Used by 0 functions | Uses 0 functions

WC_Discounts::__construct()

Method: WC_Discounts Constructor.

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

Used by 5 functions | Uses 2 functions

WC_Discounts::set_items()

Method: Set items directly. Used by WC_Cart_Totals.

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

Used by 0 functions | Uses 0 functions

WC_Discounts::set_items_from_cart()

Method: Normalise cart items which will be discounted.

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

Used by 1 function | Uses 1 function

WC_Discounts::set_items_from_order()

Method: Normalise order items which will be discounted.

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

Used by 1 function | Uses 1 function

WC_Discounts::get_object()

Method: Get the object concerned.

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

Used by 0 functions | Uses 0 functions

WC_Discounts::get_items()

Method: Get items.

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

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