| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | |
| 8 | 8 | namespace RadiusTheme\SB\Abstracts; |
| 9 | 9 | |
| 10 | 10 | use RadiusTheme\SB\Helpers\Fns; |
| 11 | -use RadiusTheme\SB\Elementor\Render\WCRender; | |
| 11 | +use RadiusTheme\SB\Elementor\Render\Render; | |
| 12 | 12 | use RadiusTheme\SB\Elementor\Widgets\Controls; |
| 13 | 13 | use RadiusTheme\SB\Controllers\Hooks\FilterHooks; |
| 14 | 14 | use RadiusTheme\SB\Traits\ActionBtnTraits; |
| 15 | 15 | |
| @@ -77,9 +77,9 @@ | ||
| 77 | 77 | $this->widget_query() |
| 78 | 78 | ) |
| 79 | 79 | ); |
| 80 | 80 | |
| 81 | - unset( $fields['grid_style'] ); | |
| 81 | + // unset( $fields['grid_style'] ); | |
| 82 | 82 | |
| 83 | 83 | return $fields; |
| 84 | 84 | } |
| 85 | 85 | |
| @@ -106,11 +106,11 @@ | ||
| 106 | 106 | |
| 107 | 107 | $sections = array_merge( |
| 108 | 108 | $content_visibility, |
| 109 | 109 | Controls\SettingsFields::content_ordering( $this ), |
| 110 | + Controls\SettingsFields::section_title( $this ), | |
| 110 | 111 | Controls\SettingsFields::image( $this ), |
| 111 | 112 | Controls\SettingsFields::action_buttons( $this ), |
| 112 | - Controls\SettingsFields::section_title( $this ), | |
| 113 | 113 | Controls\SettingsFields::product_title( $this ), |
| 114 | 114 | Controls\SettingsFields::product_excerpt( $this ), |
| 115 | 115 | Controls\SettingsFields::badges( $this ), |
| 116 | 116 | $this->variation_swatch_conditionaly(), |
| @@ -217,9 +217,9 @@ | ||
| 217 | 217 | add_filter( 'wp_kses_allowed_html', [ FilterHooks::class, 'custom_wpkses_post_tags' ], 10, 2 ); |
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | // Call the template rendering method. |
| 221 | - Fns::print_html( WCRender::instance()->setup_loop_for_product_view( $this->render_template_file(), $settings, $this ), true ); | |
| 221 | + Fns::print_html( Render::instance()->setup_loop_for_product_view( $this->render_template_file(), $settings, $this ), true ); | |
| 222 | 222 | |
| 223 | 223 | $this->action_button_icon_set_default(); |
| 224 | 224 | $this->render_end(); |
| 225 | 225 | } |