Changeset 2805917
- Timestamp:
- 10/27/2022 02:37:24 PM (3 years ago)
- Location:
- variation-swatches-for-woocommerce
- Files:
-
- 20 edited
- 1 copied
-
tags/2.1.7 (copied) (copied from variation-swatches-for-woocommerce/trunk)
-
tags/2.1.7/assets/css/frontend.css (modified) (1 diff)
-
tags/2.1.7/assets/css/frontend.css.map (modified) (1 diff)
-
tags/2.1.7/assets/css/frontend.scss (modified) (1 diff)
-
tags/2.1.7/includes/class-admin.php (modified) (1 diff)
-
tags/2.1.7/includes/class-frontend.php (modified) (3 diffs)
-
tags/2.1.7/includes/class-setting-fields-manager.php (modified) (1 diff)
-
tags/2.1.7/includes/class-setting-fields-renderer.php (modified) (1 diff)
-
tags/2.1.7/readme.txt (modified) (2 diffs)
-
tags/2.1.7/templates/admin/welcome-popup.php (modified) (1 diff)
-
tags/2.1.7/variation-swatches-for-woocommerce.php (modified) (2 diffs)
-
trunk/assets/css/frontend.css (modified) (1 diff)
-
trunk/assets/css/frontend.css.map (modified) (1 diff)
-
trunk/assets/css/frontend.scss (modified) (1 diff)
-
trunk/includes/class-admin.php (modified) (1 diff)
-
trunk/includes/class-frontend.php (modified) (3 diffs)
-
trunk/includes/class-setting-fields-manager.php (modified) (1 diff)
-
trunk/includes/class-setting-fields-renderer.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates/admin/welcome-popup.php (modified) (1 diff)
-
trunk/variation-swatches-for-woocommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
variation-swatches-for-woocommerce/tags/2.1.7/assets/css/frontend.css
r2747209 r2805917 102 102 font-size: 14px; 103 103 min-width: max-content; 104 width: auto; 104 105 } 105 106 .woocommerce div.product form.cart.variations_form .tawcvs-swatches .swatch.swatch-image, -
variation-swatches-for-woocommerce/tags/2.1.7/assets/css/frontend.css.map
r2747209 r2805917 1 {"version":3,"sourceRoot":"","sources":["frontend.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;;AAQI;AAAA;AAA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E;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAKN;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;EACA;;AAIA;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAeA;AAAA;AAAA;EACE;;AAKF;AAAA;AAAA;EACE;;AAON;AAAA;AAAA;EACE;;;AAOV;EACE;;AAEA;EACE;;;AAIJ;EACE;;AAEA;EACE;;;AAKF;EACE;;;AAIJ;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAGF;AAAA;AAAA;AAIE;EACE;;AAGF;EACE;IACE;;;AAIJ;EACE;;AAKA;EAME;;AALA;EACE;EACA;;;AAQR;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAEF;EACE;EACA","file":"frontend.css"}1 {"version":3,"sourceRoot":"","sources":["frontend.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;;AAQI;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;E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;AAAA;AAAA;AAAA;AAAA;EACE;;AAKN;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;EACA;;AAIA;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAeA;AAAA;AAAA;EACE;;AAKF;AAAA;AAAA;EACE;;AAON;AAAA;AAAA;EACE;;;AAOV;EACE;;AAEA;EACE;;;AAIJ;EACE;;AAEA;EACE;;;AAKF;EACE;;;AAIJ;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAGF;AAAA;AAAA;AAIE;EACE;;AAGF;EACE;IACE;;;AAIJ;EACE;;AAKA;EAME;;AALA;EACE;EACA;;;AAQR;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAEF;EACE;EACA","file":"frontend.css"} -
variation-swatches-for-woocommerce/tags/2.1.7/assets/css/frontend.scss
r2747209 r2805917 78 78 font-size: 14px; 79 79 min-width: max-content; 80 width: auto; 80 81 } 81 82 -
variation-swatches-for-woocommerce/tags/2.1.7/includes/class-admin.php
r2747209 r2805917 211 211 */ 212 212 public function save_custom_product_data( $post_id ) { 213 update_post_meta( $post_id, 'variation_swatches_disabled', esc_attr( $_POST['variation_swatches_disabled'] ) ); 213 if ( isset( $_POST['variation_swatches_disabled'] ) ) { 214 update_post_meta( $post_id, 'variation_swatches_disabled', esc_attr( $_POST['variation_swatches_disabled'] ) ); 215 } 214 216 } 215 217 -
variation-swatches-for-woocommerce/tags/2.1.7/includes/class-frontend.php
r2747209 r2805917 63 63 $this, 64 64 'display_variations_on_shop_page_before_add_to_cart_btn' 65 ), 10, 3);65 ), 10, 2 ); 66 66 } 67 67 add_action( 'wp_head', array( $this, 'apply_custom_design_styles' ) ); … … 273 273 $name = esc_html( apply_filters( 'woocommerce_variation_option_name', $term->name ) ); 274 274 275 $tooltip = $this->get_tooltip_html( '', $term, $name, $args ); 276 $tooltip = apply_filters( 'tawcvs_tooltip_html', $tooltip, $term, $name, $args ); 275 $tooltip_text = esc_html( apply_filters( 'woocommerce_variation_option_description_text', ! empty( $term->description ) ? $term->description : $term->name ) ); 276 $tooltip = $this->get_tooltip_html( '', $term, $tooltip_text, $args ); 277 $tooltip = apply_filters( 'tawcvs_tooltip_html', $tooltip, $term, $tooltip_text, $args ); 277 278 278 279 $swatchShape = isset( $this->generalSettings['swatch-shape'] ) ? $this->generalSettings['swatch-shape'] : 'circle'; … … 376 377 * @param $html 377 378 * @param $product 378 * @param $args379 379 * 380 380 * @return mixed|void 381 381 */ 382 public function display_variations_on_shop_page_before_add_to_cart_btn( $html, $product , $args) {382 public function display_variations_on_shop_page_before_add_to_cart_btn( $html, $product ) { 383 383 global $product; 384 384 -
variation-swatches-for-woocommerce/tags/2.1.7/includes/class-setting-fields-manager.php
r2747209 r2805917 396 396 'priority' => 8 397 397 ), 398 array( 399 'title' => __( 'Enable Attribute Name', 'woosuite-variation-swatches-pro' ), 400 'fields' => array( 401 array( 402 'id' => 'wcvs-enable-attribute-name', 403 'type' => 'checkbox', 404 'name' => 'enable-attribute-name', 405 ) 406 ), 407 'is_pro_feature' => true, 408 'desc' => __( 'It will show the attribute name when choosing a desired attribute value', 'woosuite-variation-swatches-pro' ), 409 'priority' => 9 410 ), 411 array( 412 'title' => __( 'Enable Attribute Description', 'woosuite-variation-swatches-pro' ), 413 'fields' => array( 414 array( 415 'id' => 'wcvs-enable-attribute-desc', 416 'type' => 'checkbox', 417 'name' => 'enable-attribute-desc', 418 ) 419 ), 420 'is_pro_feature' => true, 421 'desc' => __( 'It will show the attribute description under the attribute block', 'woosuite-variation-swatches-pro' ), 422 'priority' => 10 423 ), 424 array( 425 'title' => __( 'Swatch limit on Singe product', 'wcvs' ), 426 'fields' => array( 427 array( 428 'id' => 'wcvs-swatch-limit-single-page', 429 'type' => 'number', 430 'name' => 'swatch-limit-single-page', 431 'default_value' => '0' 432 ) 433 ), 434 'is_pro_feature' => true, 435 'desc' => __( 'Set a max amount of swatches to show.<br>0 means show all swatches', 'wcvs' ), 436 'priority' => 11 437 ), 398 438 ), 399 439 'design' => array( -
variation-swatches-for-woocommerce/tags/2.1.7/includes/class-setting-fields-renderer.php
r2653659 r2805917 13 13 add_action( 'woosuite_variation_swatches_settings_fields_html', array( $this, 'render_settings_page' ) ); 14 14 15 //Hook for the template parts 16 add_action( 'woosuite_child_plugin_header', array( $this, 'render_settings_page_header' ) ); 17 add_action( 'woosuite_child_plugin_sidebar', array( $this, 'render_settings_page_sidebar' ) ); 18 add_action( 'woosuite_child_plugin_footer', array( $this, 'render_settings_page_footer' ) ); 19 add_action( 'woosuite_child_plugin_video_tutorials', array( 20 $this, 21 'render_settings_page_video_tutorials' 22 ) ); 15 if ( TA_WC_Variation_Swatches::is_in_plugin_settings_page() ) { 16 //Hook for the template parts 17 add_action( 'woosuite_child_plugin_header', array( $this, 'render_settings_page_header' ) ); 18 add_action( 'woosuite_child_plugin_sidebar', array( $this, 'render_settings_page_sidebar' ) ); 19 add_action( 'woosuite_child_plugin_footer', array( $this, 'render_settings_page_footer' ) ); 20 add_action( 'woosuite_child_plugin_video_tutorials', array( 21 $this, 22 'render_settings_page_video_tutorials' 23 ) ); 24 } 23 25 24 26 -
variation-swatches-for-woocommerce/tags/2.1.7/readme.txt
r2747209 r2805917 3 3 Tags: variation swatches, woocommerce swatches, variation swatches for woocommerce, woocommerce attributes, woocommerce 4 4 Requires at least: 4.5 5 Tested up to: 6.0 6 Stable tag: 2.1. 65 Tested up to: 6.0.3 6 Stable tag: 2.1.7 7 7 WC requires at least: 3.2.0 8 WC tested up to: 6.6.18 WC tested up to: 7.0.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 104 104 105 105 == Changelog == 106 = 2.1.7 = 107 * Fix PHP warning 108 * Removed unused param from hook 109 * Fix the spacing issue in the Safari browser 110 * Added the option to limit the number of swatches on the single product in Pro 111 * Separate variables to get swatch name and desc 112 * Added support to change the variation image by hovering in Pro 113 106 114 = 2.1.6 = 107 115 * Update: WooCommerce and WordPress Compatibility -
variation-swatches-for-woocommerce/tags/2.1.7/templates/admin/welcome-popup.php
r2747209 r2805917 7 7 <div class="popup-content"> 8 8 <div class="popup-inner-content"> 9 <p><strong>Variation Swatches 2.1. 6is here! 🥳🥳</strong></p>9 <p><strong>Variation Swatches 2.1.7 is here! 🥳🥳</strong></p> 10 10 <p>This version fixes small styling issues but more importantly extends the support of <a href="https://woosuite.com/lp/variations-swatches-upgrade/?ref=update-message">our Pro version</a>.</p> 11 11 <p>A lot of our best features come from your feedback, so let us know what you would like to see next.</p> -
variation-swatches-for-woocommerce/tags/2.1.7/variation-swatches-for-woocommerce.php
r2747209 r2805917 4 4 * Plugin URI: https://woosuite.com/plugins/woocommerce-variation-swatches/ 5 5 * Description: Creates variation swatches for WooCommerce, converts your variation dropdown into color, label, or photo swatches with ease, The original Variation Swatches for WooCommerce. 6 * Version: 2.1. 66 * Version: 2.1.7 7 7 * Author: Woosuite 8 8 * Author URI: https://woosuite.com/ 9 9 * Requires at least: 4.5 10 * Tested up to: 6.0 10 * Tested up to: 6.0.3 11 11 * Text Domain: wcvs 12 12 * Domain Path: /languages 13 13 * WC requires at least: 3.0.0 14 * WC tested up to: 6.6.114 * WC tested up to: 7.0.0 15 15 * 16 16 * License: GPLv2 or later … … 28 28 29 29 if ( ! defined( 'WCVS_PLUGIN_VERSION' ) ) { 30 define( 'WCVS_PLUGIN_VERSION', '2.1. 6' );30 define( 'WCVS_PLUGIN_VERSION', '2.1.7' ); 31 31 } 32 32 -
variation-swatches-for-woocommerce/trunk/assets/css/frontend.css
r2747209 r2805917 102 102 font-size: 14px; 103 103 min-width: max-content; 104 width: auto; 104 105 } 105 106 .woocommerce div.product form.cart.variations_form .tawcvs-swatches .swatch.swatch-image, -
variation-swatches-for-woocommerce/trunk/assets/css/frontend.css.map
r2747209 r2805917 1 {"version":3,"sourceRoot":"","sources":["frontend.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;;AAQI;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIE;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKN;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA; ;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;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;;AAIJ;EACE;;;AAGF;AAAA;AAAA;AAIE;EACE;;AAGF;EACE;IACE;;;AAIJ;EACE;;AAKA;EAME;;AALA;EACE;EACA;;;AAQR;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAEF;EACE;EACA","file":"frontend.css"}1 {"version":3,"sourceRoot":"","sources":["frontend.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;;AAQI;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIE;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKN;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAKN;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;EACA;;AAIA;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAeA;AAAA;AAAA;EACE;;AAKF;AAAA;AAAA;EACE;;AAON;AAAA;AAAA;EACE;;;AAOV;EACE;;AAEA;EACE;;;AAIJ;EACE;;AAEA;EACE;;;AAKF;EACE;;;AAIJ;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAGF;AAAA;AAAA;AAIE;EACE;;AAGF;EACE;IACE;;;AAIJ;EACE;;AAKA;EAME;;AALA;EACE;EACA;;;AAQR;EACE;;AAEA;EACE;;;AAIJ;EACE;;;AAEF;EACE;EACA","file":"frontend.css"} -
variation-swatches-for-woocommerce/trunk/assets/css/frontend.scss
r2747209 r2805917 78 78 font-size: 14px; 79 79 min-width: max-content; 80 width: auto; 80 81 } 81 82 -
variation-swatches-for-woocommerce/trunk/includes/class-admin.php
r2747209 r2805917 211 211 */ 212 212 public function save_custom_product_data( $post_id ) { 213 update_post_meta( $post_id, 'variation_swatches_disabled', esc_attr( $_POST['variation_swatches_disabled'] ) ); 213 if ( isset( $_POST['variation_swatches_disabled'] ) ) { 214 update_post_meta( $post_id, 'variation_swatches_disabled', esc_attr( $_POST['variation_swatches_disabled'] ) ); 215 } 214 216 } 215 217 -
variation-swatches-for-woocommerce/trunk/includes/class-frontend.php
r2747209 r2805917 63 63 $this, 64 64 'display_variations_on_shop_page_before_add_to_cart_btn' 65 ), 10, 3);65 ), 10, 2 ); 66 66 } 67 67 add_action( 'wp_head', array( $this, 'apply_custom_design_styles' ) ); … … 273 273 $name = esc_html( apply_filters( 'woocommerce_variation_option_name', $term->name ) ); 274 274 275 $tooltip = $this->get_tooltip_html( '', $term, $name, $args ); 276 $tooltip = apply_filters( 'tawcvs_tooltip_html', $tooltip, $term, $name, $args ); 275 $tooltip_text = esc_html( apply_filters( 'woocommerce_variation_option_description_text', ! empty( $term->description ) ? $term->description : $term->name ) ); 276 $tooltip = $this->get_tooltip_html( '', $term, $tooltip_text, $args ); 277 $tooltip = apply_filters( 'tawcvs_tooltip_html', $tooltip, $term, $tooltip_text, $args ); 277 278 278 279 $swatchShape = isset( $this->generalSettings['swatch-shape'] ) ? $this->generalSettings['swatch-shape'] : 'circle'; … … 376 377 * @param $html 377 378 * @param $product 378 * @param $args379 379 * 380 380 * @return mixed|void 381 381 */ 382 public function display_variations_on_shop_page_before_add_to_cart_btn( $html, $product , $args) {382 public function display_variations_on_shop_page_before_add_to_cart_btn( $html, $product ) { 383 383 global $product; 384 384 -
variation-swatches-for-woocommerce/trunk/includes/class-setting-fields-manager.php
r2747209 r2805917 396 396 'priority' => 8 397 397 ), 398 array( 399 'title' => __( 'Enable Attribute Name', 'woosuite-variation-swatches-pro' ), 400 'fields' => array( 401 array( 402 'id' => 'wcvs-enable-attribute-name', 403 'type' => 'checkbox', 404 'name' => 'enable-attribute-name', 405 ) 406 ), 407 'is_pro_feature' => true, 408 'desc' => __( 'It will show the attribute name when choosing a desired attribute value', 'woosuite-variation-swatches-pro' ), 409 'priority' => 9 410 ), 411 array( 412 'title' => __( 'Enable Attribute Description', 'woosuite-variation-swatches-pro' ), 413 'fields' => array( 414 array( 415 'id' => 'wcvs-enable-attribute-desc', 416 'type' => 'checkbox', 417 'name' => 'enable-attribute-desc', 418 ) 419 ), 420 'is_pro_feature' => true, 421 'desc' => __( 'It will show the attribute description under the attribute block', 'woosuite-variation-swatches-pro' ), 422 'priority' => 10 423 ), 424 array( 425 'title' => __( 'Swatch limit on Singe product', 'wcvs' ), 426 'fields' => array( 427 array( 428 'id' => 'wcvs-swatch-limit-single-page', 429 'type' => 'number', 430 'name' => 'swatch-limit-single-page', 431 'default_value' => '0' 432 ) 433 ), 434 'is_pro_feature' => true, 435 'desc' => __( 'Set a max amount of swatches to show.<br>0 means show all swatches', 'wcvs' ), 436 'priority' => 11 437 ), 398 438 ), 399 439 'design' => array( -
variation-swatches-for-woocommerce/trunk/includes/class-setting-fields-renderer.php
r2653659 r2805917 13 13 add_action( 'woosuite_variation_swatches_settings_fields_html', array( $this, 'render_settings_page' ) ); 14 14 15 //Hook for the template parts 16 add_action( 'woosuite_child_plugin_header', array( $this, 'render_settings_page_header' ) ); 17 add_action( 'woosuite_child_plugin_sidebar', array( $this, 'render_settings_page_sidebar' ) ); 18 add_action( 'woosuite_child_plugin_footer', array( $this, 'render_settings_page_footer' ) ); 19 add_action( 'woosuite_child_plugin_video_tutorials', array( 20 $this, 21 'render_settings_page_video_tutorials' 22 ) ); 15 if ( TA_WC_Variation_Swatches::is_in_plugin_settings_page() ) { 16 //Hook for the template parts 17 add_action( 'woosuite_child_plugin_header', array( $this, 'render_settings_page_header' ) ); 18 add_action( 'woosuite_child_plugin_sidebar', array( $this, 'render_settings_page_sidebar' ) ); 19 add_action( 'woosuite_child_plugin_footer', array( $this, 'render_settings_page_footer' ) ); 20 add_action( 'woosuite_child_plugin_video_tutorials', array( 21 $this, 22 'render_settings_page_video_tutorials' 23 ) ); 24 } 23 25 24 26 -
variation-swatches-for-woocommerce/trunk/readme.txt
r2747209 r2805917 3 3 Tags: variation swatches, woocommerce swatches, variation swatches for woocommerce, woocommerce attributes, woocommerce 4 4 Requires at least: 4.5 5 Tested up to: 6.0 6 Stable tag: 2.1. 65 Tested up to: 6.0.3 6 Stable tag: 2.1.7 7 7 WC requires at least: 3.2.0 8 WC tested up to: 6.6.18 WC tested up to: 7.0.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 104 104 105 105 == Changelog == 106 = 2.1.7 = 107 * Fix PHP warning 108 * Removed unused param from hook 109 * Fix the spacing issue in the Safari browser 110 * Added the option to limit the number of swatches on the single product in Pro 111 * Separate variables to get swatch name and desc 112 * Added support to change the variation image by hovering in Pro 113 106 114 = 2.1.6 = 107 115 * Update: WooCommerce and WordPress Compatibility -
variation-swatches-for-woocommerce/trunk/templates/admin/welcome-popup.php
r2747209 r2805917 7 7 <div class="popup-content"> 8 8 <div class="popup-inner-content"> 9 <p><strong>Variation Swatches 2.1. 6is here! 🥳🥳</strong></p>9 <p><strong>Variation Swatches 2.1.7 is here! 🥳🥳</strong></p> 10 10 <p>This version fixes small styling issues but more importantly extends the support of <a href="https://woosuite.com/lp/variations-swatches-upgrade/?ref=update-message">our Pro version</a>.</p> 11 11 <p>A lot of our best features come from your feedback, so let us know what you would like to see next.</p> -
variation-swatches-for-woocommerce/trunk/variation-swatches-for-woocommerce.php
r2747209 r2805917 4 4 * Plugin URI: https://woosuite.com/plugins/woocommerce-variation-swatches/ 5 5 * Description: Creates variation swatches for WooCommerce, converts your variation dropdown into color, label, or photo swatches with ease, The original Variation Swatches for WooCommerce. 6 * Version: 2.1. 66 * Version: 2.1.7 7 7 * Author: Woosuite 8 8 * Author URI: https://woosuite.com/ 9 9 * Requires at least: 4.5 10 * Tested up to: 6.0 10 * Tested up to: 6.0.3 11 11 * Text Domain: wcvs 12 12 * Domain Path: /languages 13 13 * WC requires at least: 3.0.0 14 * WC tested up to: 6.6.114 * WC tested up to: 7.0.0 15 15 * 16 16 * License: GPLv2 or later … … 28 28 29 29 if ( ! defined( 'WCVS_PLUGIN_VERSION' ) ) { 30 define( 'WCVS_PLUGIN_VERSION', '2.1. 6' );30 define( 'WCVS_PLUGIN_VERSION', '2.1.7' ); 31 31 } 32 32
Note: See TracChangeset
for help on using the changeset viewer.