CartController::get_variable_product_attributes( WC_Product $product )

Get product attributes from the variable product (which may be the parent if the product object is a variation).


Description Description


Parameters Parameters

$product

(Required) Product being added to the cart.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.