PluginProbe ʕ •ᴥ•ʔ
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution / 4.7.2
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution v4.7.2
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 3 years ago content-cart.php 3 years ago content-checkout-without-account.php 3 years ago content-checkout.php 3 years ago content-shop.php 3 years ago content-single-product.php 3 years 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
61 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
9 if(WC()->cart->is_empty() && !$editor_mode) {
10 ?>
11 <div class="shopengine shopengine-empty-cart-container">
12 <div class="woocommerce-notices-wrapper">
13
14 <article class="page type-page status-publish hentry entry">
15
16 <header class="entry-header alignwide">
17 <h1 class="entry-title"><?php
18 esc_html_e("Cart", 'shopengine') ?></h1>
19 </header>
20
21 <div class="entry-content">
22 <div class="woocommerce">
23 <div class="woocommerce-notices-wrapper"></div>
24 <?php
25 do_action('woocommerce_cart_is_empty'); ?>
26 <a title="<?php esc_html_e('Return To Shop','shopengine')?>" class="button wc-backward" href="<?php
27 echo esc_url(apply_filters('woocommerce_return_to_shop_redirect',
28 wc_get_page_permalink('shop'))); ?>">
29 <?php
30 /**
31 * Filter "Return To Shop" text.
32 *
33 * @param string $default_text Default text.
34 *
35 * @since 4.6.0
36 */
37 echo esc_html(apply_filters('woocommerce_return_to_shop_text',
38 __('Return to shop', 'shopengine')));
39 ?>
40 </a>
41 </div>
42 </div>
43 </article>
44 </div>
45 </div>
46
47 <?php
48 } else {
49
50 while(have_posts()) : the_post();
51 if(\ShopEngine\Core\Builders\Action::is_edit_with_gutenberg($this->prod_tpl_id)) {
52 shopengine_content_render( do_blocks( get_the_content(null, false, $this->prod_tpl_id) ) );
53 } else {
54 \ShopEngine\Core\Page_Templates\Hooks\Base_Content::instance()->load_content_designed_from_builder();
55 }
56 endwhile;
57
58 }
59 ?>
60 <?php echo !wp_is_block_theme() ? '</div>' : ''; ?>
61