PluginProbe ʕ •ᴥ•ʔ
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution / 4.9.1
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution v4.9.1
4.9.2 4.9.1 4.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.3.0 4.3.1 4.4.0 4.5.0 4.5.1 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.6.8 4.6.9 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.7 4.7.8 4.7.9 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.8.9 trunk 0.1.2-beta 0.1.3-beta 0.1.4-beta 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.5.0 1.5.1 1.6.0 1.6.1 1.7.0 1.8.0 1.8.1 1.9.0
shopengine / core / page-templates / screens / content-cart.php
shopengine / core / page-templates / screens Last commit date
content-archive.php 1 year ago content-cart.php 1 year ago content-checkout-without-account.php 1 year ago content-checkout.php 1 year ago content-shop.php 1 year ago content-single-product.php 1 year ago gutenberg-default.php 1 year ago gutenberg-shopengine_canvas_tpl.php 4 years ago gutenberg-shopengine_full_width_tpl.php 3 years ago
content-cart.php
62 lines
1 <?php
2
3 defined('ABSPATH') || exit; ?>
4
5 <?php echo !wp_is_block_theme() ? '<div class="shopengine">' : ""; ?>
6 <?php
7 $editor_mode = \ShopEngine\Utils\Helper::is_elementor_editor_mode();
8 $template_type = \ShopEngine\Core\Page_Templates\Hooks\Base_Content::instance()->prod_tpl_slug;
9
10 if(WC()->cart->is_empty() && !$editor_mode && $template_type != 'empty-cart') {
11 ?>
12 <div class="shopengine shopengine-empty-cart-container">
13 <div class="woocommerce-notices-wrapper">
14
15 <article class="page type-page status-publish hentry entry">
16
17 <header class="entry-header alignwide">
18 <h1 class="entry-title"><?php
19 esc_html_e("Cart", 'shopengine') ?></h1>
20 </header>
21
22 <div class="entry-content">
23 <div class="woocommerce">
24 <div class="woocommerce-notices-wrapper"></div>
25 <?php
26 do_action('woocommerce_cart_is_empty'); ?>
27 <a title="<?php esc_html_e('Return To Shop','shopengine')?>" class="button wc-backward" href="<?php
28 echo esc_url(apply_filters('woocommerce_return_to_shop_redirect',
29 wc_get_page_permalink('shop'))); ?>">
30 <?php
31 /**
32 * Filter "Return To Shop" text.
33 *
34 * @param string $default_text Default text.
35 *
36 * @since 4.6.0
37 */
38 echo esc_html(apply_filters('woocommerce_return_to_shop_text',
39 __('Return to shop', 'shopengine')));
40 ?>
41 </a>
42 </div>
43 </div>
44 </article>
45 </div>
46 </div>
47
48 <?php
49 } if ( $template_type === 'cart' && !WC()->cart->is_empty()) {
50
51 while(have_posts()) : the_post();
52 if(\ShopEngine\Core\Builders\Action::is_edit_with_gutenberg($this->prod_tpl_id)) {
53 shopengine_content_render( do_shortcode( do_blocks( get_the_content(null, false, $this->prod_tpl_id)) ) );
54 } else {
55 \ShopEngine\Core\Page_Templates\Hooks\Base_Content::instance()->load_content_designed_from_builder();
56 }
57 endwhile;
58
59 }
60 ?>
61 <?php echo !wp_is_block_theme() ? '</div>' : ''; ?>
62