PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.0
ShopBuilder – WooCommerce Builder For Elementor v2.0.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Abstracts/AdditionalQueryCustomLayout.php +1 -11 2.0.32.0.0 View file →
@@ -116,9 +116,9 @@
116 116 Controls\SettingsFields::section_title( $this ),
117 117 Controls\SettingsFields::product_title( $this ),
118 118 Controls\SettingsFields::product_excerpt( $this ),
119 119 Controls\SettingsFields::badges( $this ),
120 - $this->variation_swatch_conditionaly(),
120 + Controls\SettingsFields::variation_swatch( $this ),
121 121 Controls\SettingsFields::links( $this )
122 122 );
123 123 return apply_filters( 'rtsb/elements/elementor/product_custom_settings_tab', $sections, $this );
124 124 }
@@ -128,18 +128,8 @@
128 128 * @return array
129 129 */
130 130 protected function widget_layout() {
131 131 return Controls\LayoutFields::grid_layout( $this );
132 - }
133 - public function variation_swatch_conditionaly() {
134 - if ( ! function_exists( 'rtwpvsp' ) ) {
135 - return [];
136 - }
137 - $swatches_controls = Controls\SettingsFields::variation_swatch( $this );
138 - $swatches_controls['swatch_position']['condition'] = [
139 - 'layout' => [ 'grid-layout1' ],
140 - ];
141 - return $swatches_controls;
142 132 }
143 133 /**
144 134 * Controls for layout tab
145 135 *