From b5991c417cb2bc8bea3041a617ebd9b21d3a45db Mon Sep 17 00:00:00 2001 From: Caleb Burks <19caleb95@gmail.com> Date: Sun, 15 Jan 2017 03:17:03 -0500 Subject: [PATCH] Update available attribute options Ensure that available attributes can be updated after each attribute selection. Fixes https://github.com/woocommerce/woocommerce/issues/12817 --- assets/js/frontend/add-to-cart-variation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/frontend/add-to-cart-variation.js b/assets/js/frontend/add-to-cart-variation.js index 87a57ecad2d..83bd748cbdb 100644 --- a/assets/js/frontend/add-to-cart-variation.js +++ b/assets/js/frontend/add-to-cart-variation.js @@ -167,6 +167,7 @@ } } } else { + form.$form.trigger( 'update_variation_values' ); form.$form.trigger( 'reset_data' ); }