diff --git a/assets/js/frontend/single-product.js b/assets/js/frontend/single-product.js index 6ca1e59bbd4..56dca70979d 100644 --- a/assets/js/frontend/single-product.js +++ b/assets/js/frontend/single-product.js @@ -93,7 +93,7 @@ jQuery( function( $ ) { // ...also taking args into account. if ( args ) { - this.flexslider_enabled = false === args.photoswipe_enabled ? false : this.flexslider_enabled; + this.flexslider_enabled = false === args.flexslider_enabled ? false : this.flexslider_enabled; this.zoom_enabled = false === args.zoom_enabled ? false : this.zoom_enabled; this.photoswipe_enabled = false === args.photoswipe_enabled ? false : this.photoswipe_enabled; }