PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.5
ShopBuilder – WooCommerce Builder For Elementor v3.2.5
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/Controllers/SupportController.php +1 -12 3.2.43.2.5 View file →
@@ -101,21 +101,10 @@
101 101 *
102 102 * @return string Modified or original template path.
103 103 */
104 104 public function locate_template( $template, $template_name ) {
105 - if ( 'checkout/review-order.php' === $template_name && BuilderFns::is_checkout() ) {
106 - $id = BuilderFns::is_builder_preview() ? get_the_ID() : BuilderFns::builder_page_id_by_type( 'checkout' );
107 - $elmap = ElementorDataMap::instance();
108 - if ( ! $id ) {
109 - return $template;
110 - }
111 - $get_widget = $elmap->get_widget_data( 'rtsb-shipping-method', [], $id );
112 - if ( ! empty( $get_widget ) ) {
113 - $template = Fns::locate_template( 'elementor/checkout/customized-order-review' );
114 - }
115 - } elseif ( 'single-product/tabs/description.php' === $template_name && BuilderFns::is_product() ) {
105 + if ( 'single-product/tabs/description.php' === $template_name && BuilderFns::is_product() ) {
116 106 $template = Fns::locate_template( 'elementor/single-product/tab-description' );
117 107 }
118 -
119 108 return $template;
120 109 }
121 110 }