apply_filters( 'woocommerce_add_cart_item_data' )

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


Description Description

If no attribute was posted, only error if the variation has an ‘any’ attribute which requires a value.


Source Source

File: includes/class-wc-cart.php



Top ↑

User Contributed Notes User Contributed Notes

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