PluginProbe
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution with eCommerce Templates & Woo Widgets / 4.7.0
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution with eCommerce Templates & Woo Widgets v4.7.0
4.9.5 4.9.4 4.9.3 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 All 85 releases
shopengine / widgets / notice / screens / default.php
default.php
25 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined('ABSPATH') || exit;
3 if (\Elementor\Plugin::$instance->editor->is_edit_mode() || \Elementor\Plugin::$instance->preview->is_preview_mode()):
4 $page_type = \ShopEngine\Widgets\Products::instance()->get_template_type_by_id(get_the_ID());
5 if (!empty($page_type) && $page_type === 'single'): ?>
6 <div class="woocommerce-message" role="alert">
7 <button title="<?php esc_html_e('View Cart Item','shopengine')?>" tabindex="1" class="button wc-forward"><?php esc_html_e('View cart', 'shopengine')?></button><?php esc_html_e('“Beanie” has been added to your cart.', 'shopengine')?>
8 </div>
9 <?php else: ?>
10 <div class="shopengine-checkout-notice">
11 <ul class="woocommerce-error" role="alert">
12 <li data-id="billing_first_name">
13 <strong><?php esc_html_e('Billing First name', 'shopengine')?></strong> <?php esc_html_e('is a required field.', 'shopengine')?>
14 </li>
15 <li data-id="billing_email">
16 <strong><?php esc_html_e('Billing Email address', 'shopengine')?></strong> <?php esc_html_e('is a required field.', 'shopengine')?>
17 </li>
18 </ul>
19 </div>
20 <?php endif;?>
21 <?php else: ?>
22 <div class="shopengine-checkout-notice">
23 <?php is_single() ? wc_print_notices() : ''?>
24 </div>
25 <?php endif;?>