Merge pull request #16464 from iickoo/patch-1

Update add-to-cart-variation.js
This commit is contained in:
Claudio Sanches 2017-08-15 16:28:47 -03:00 committed by GitHub
commit 88e0138be4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
var VariationForm = function( $form ) { var VariationForm = function( $form ) {
this.$form = $form; this.$form = $form;
this.$attributeFields = $form.find( '.variations select' ); this.$attributeFields = $form.find( '.variations select' );
this.$singleVariation = $form.find( '.single_variation' ), this.$singleVariation = $form.find( '.single_variation' );
this.$singleVariationWrap = $form.find( '.single_variation_wrap' ); this.$singleVariationWrap = $form.find( '.single_variation_wrap' );
this.$resetVariations = $form.find( '.reset_variations' ); this.$resetVariations = $form.find( '.reset_variations' );
this.$product = $form.closest( '.product' ); this.$product = $form.closest( '.product' );