Dev Resources

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

WC_Product_Variation::delete()

Method: Delete variation, set the ID to 0, and return result.

Source: includes/class-wc-product-variation.php:594

Used by 0 functions | Uses 0 functions

WC_Product_Variation::variation_is_active()

Method: Controls whether this particular variation will appear greyed-out (inactive) or not (active).

Source: includes/class-wc-product-variation.php:560

Used by 0 functions | Uses 0 functions

WC_Product_Variation::variation_is_visible()

Method: Checks if this particular variation is visible. Invisible variations are enabled and can be selected, but no price / stock info is displayed.

Source: includes/class-wc-product-variation.php:571

Used by 1 function | Uses 0 functions

WC_Product_Variation::get_valid_tax_classes()

Method: Return valid tax classes. Adds ‘parent’ to the default list of valid tax classes.

Source: includes/class-wc-product-variation.php:580

Used by 1 function | Uses 1 function

WC_Product_Variation::set_attribute_summary()

Method: Set attribute summary.

Source: includes/class-wc-product-variation.php:445

Used by 0 functions | Uses 0 functions

WC_Product_Variation::set_parent_data()

Method: Set the parent data array for this variation.

Source: includes/class-wc-product-variation.php:461

Used by 0 functions | Uses 1 function

WC_Product_Variation::get_parent_data()

Method: Get the parent data array for this variation.

Source: includes/class-wc-product-variation.php:501

Used by 0 functions | Uses 0 functions

WC_Product_Variation::set_attributes()

Method: Set attributes. Unlike the parent product which uses terms, variations are assigned specific attributes using name value pairs.

Source: includes/class-wc-product-variation.php:511

Used by 0 functions | Uses 0 functions

WC_Product_Variation::has_attributes()

Method: Returns whether or not the product has any visible attributes.

Source: includes/class-wc-product-variation.php:533

Used by 0 functions | Uses 0 functions

WC_Product_Variation::is_purchasable()

Method: Returns false if the product cannot be bought.

Source: includes/class-wc-product-variation.php:549

Used by 1 function | Uses 1 function
1 2 … 4 Next »
Proudly powered by WordPress