← All changes
|
app/Elementor/Widgets/Controls/ModuleBtnControls.php
+8
-8
2.0.2
→
3.4.0
View file →
| @@ -112,9 +112,9 @@ | ||
| 112 | 112 | 'icon' => 'eicon-text-align-right', |
| 113 | 113 | ], |
| 114 | 114 | ], |
| 115 | 115 | 'selectors' => [ |
| 116 | - $selector['module_item_alignment'] => 'justify-content: {{VALUE}};', | |
| 116 | + $selector['module_item_alignment'] => 'justify-content: {{VALUE}}!important;', | |
| 117 | 117 | ], |
| 118 | 118 | ], |
| 119 | 119 | 'module_tabs_start' => [ |
| 120 | 120 | 'mode' => 'tabs_start', |
| @@ -241,9 +241,9 @@ | ||
| 241 | 241 | 'operator' => '===', |
| 242 | 242 | 'value' => 'yes', |
| 243 | 243 | ]; |
| 244 | 244 | } |
| 245 | - if ( Fns::is_module_active( 'quick_view' ) ) { | |
| 245 | + if ( Fns::is_module_active( 'quick_view' ) && isset( $fields['quick_view_button'] ) ) { | |
| 246 | 246 | $fields['module_section']['conditions']['terms'][] = [ |
| 247 | 247 | 'name' => 'quick_view_button', |
| 248 | 248 | 'operator' => '===', |
| 249 | 249 | 'value' => 'yes', |
| @@ -262,10 +262,10 @@ | ||
| 262 | 262 | $fields = []; |
| 263 | 263 | if ( Fns::is_module_active( 'wishlist' ) ) { |
| 264 | 264 | $fields['wishlist_button'] = [ |
| 265 | 265 | 'type' => 'switch', |
| 266 | - 'label' => esc_html__( 'Show Product Wishlist?', 'shopbuilder' ), | |
| 267 | - 'description' => esc_html__( 'Switch on to show product wishlist.', 'shopbuilder' ), | |
| 266 | + 'label' => esc_html__( 'Show Wishlist Button?', 'shopbuilder' ), | |
| 267 | + 'description' => esc_html__( 'Switch on to show product wishlist. Ensure "Showcase Button Position" under Wishlist module\'s "Product Showcase Settings" is not set to "Custom Position".', 'shopbuilder' ), | |
| 268 | 268 | 'default' => 'yes', |
| 269 | 269 | ]; |
| 270 | 270 | } |
| 271 | 271 | if ( Fns::is_module_active( 'compare' ) ) { |
| @@ -270,10 +270,10 @@ | ||
| 270 | 270 | } |
| 271 | 271 | if ( Fns::is_module_active( 'compare' ) ) { |
| 272 | 272 | $fields['comparison_button'] = [ |
| 273 | 273 | 'type' => 'switch', |
| 274 | - 'label' => esc_html__( 'Show Product Comparison?', 'shopbuilder' ), | |
| 275 | - 'description' => esc_html__( 'Switch on to show product comparison.', 'shopbuilder' ), | |
| 274 | + 'label' => esc_html__( 'Show Compare Button?', 'shopbuilder' ), | |
| 275 | + 'description' => esc_html__( 'Switch on to show product comparison. Ensure "Showcase Button Position" under Compare module\'s "Product Showcase Settings" is not set to "Custom Position".', 'shopbuilder' ), | |
| 276 | 276 | 'default' => 'yes', |
| 277 | 277 | ]; |
| 278 | 278 | } |
| 279 | 279 | if ( Fns::is_module_active( 'quick_view' ) ) { |
| @@ -278,10 +278,10 @@ | ||
| 278 | 278 | } |
| 279 | 279 | if ( Fns::is_module_active( 'quick_view' ) ) { |
| 280 | 280 | $fields['quick_view_button'] = [ |
| 281 | 281 | 'type' => 'switch', |
| 282 | - 'label' => esc_html__( 'Show Product Quick View?', 'shopbuilder' ), | |
| 283 | - 'description' => esc_html__( 'Switch on to show product quick view.', 'shopbuilder' ), | |
| 282 | + 'label' => esc_html__( 'Show Quick View Button?', 'shopbuilder' ), | |
| 283 | + 'description' => esc_html__( 'Switch on to show product quick view. Ensure "Showcase Button Position" under Quick View module\'s "Product Showcase Settings" is not set to "Custom Position".', 'shopbuilder' ), | |
| 284 | 284 | 'default' => 'yes', |
| 285 | 285 | ]; |
| 286 | 286 | } |
| 287 | 287 | |