Dev Resources

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

WC_Cart::get_tax_price_display_mode()

Method: Returns ‘incl’ if tax should be included in cart, otherwise returns ‘excl’.

Source: includes/class-wc-cart.php:2117

Used by 1 function | Uses 1 function

woocommerce_add_cart_item_data

Filter Hook: If the attribute value was posted, check if it’s valid.

Source: includes/class-wc-cart.php:1138

Used by 2 functions | Uses 0 functions

woocommerce_cart_product_cannot_add_another_message

Filter Hook: Filters message about more than 1 product being added to cart.

Source: includes/class-wc-cart.php:1162

Used by 1 function | Uses 0 functions

woocommerce_cart_product_out_of_stock_message

Filter Hook: Filters message about product being out of stock.

Source: includes/class-wc-cart.php:1193

Used by 1 function | Uses 0 functions

woocommerce_cart_product_not_enough_stock_message

Filter Hook: Filters message about product not having enough stock.

Source: includes/class-wc-cart.php:1211

Used by 1 function | Uses 0 functions

woocommerce_cart_product_not_enough_stock_already_in_cart_message

Filter Hook: Filters message about product not having enough stock accounting for what’s already in the cart.

Source: includes/class-wc-cart.php:1242

Used by 1 function | Uses 0 functions

woocommerce_cart_item_required_stock_is_not_enough

Filter Hook: Allows filter if product have enough stock to get added to the cart.

Source: includes/class-wc-cart.php:789

Used by 1 function | Uses 0 functions

WC_Cart::is_tax_displayed()

Method: Returns ‘incl’ if tax should be included in cart, otherwise returns ‘excl’.

Source: includes/class-wc-cart.php:1946

Used by 0 functions | Uses 0 functions

WC_Cart::get_cart_hash()

Method: Returns the hash based on cart contents.

Source: includes/class-wc-cart.php:2131

Used by 0 functions | Uses 1 function

WC_Cart::get_tax_amount()

Method: Get a tax amount.

Source: includes/class-wc-cart.php:2056

Used by 0 functions | Uses 3 functions
1 2 … 13 Next »
Proudly powered by WordPress