{# # Variable Product Add to Cart (Bootstrap 5 Override) # # Add-to-cart form for variable products with attribute selectors. # # Expected context: # product - WC_Product_Variable object # attributes - Array of attribute taxonomies # available_variations - JSON-encoded variations data # attribute_keys - Array of attribute keys # variations_json - Variations data as JSON string # variations_attr - Data attribute string for the form # selected_attributes - Currently selected attribute values # # WooCommerce PHP equivalent: single-product/add-to-cart/variable.php # # @package WcBootstrap # @since 0.1.0 #} {{ do_action('woocommerce_before_add_to_cart_form') }}
{{ do_action('woocommerce_after_add_to_cart_form') }}