PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.10.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.10.2
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / inc / modules / inactive-tab-message / admin / options.php

options.php in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.10.2, at inc/modules/inactive-tab-message/admin/options.php

38 lines 1002 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Inactive Tab Message
4 *
5 * @package Merchant
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly
10 }
11
12 /**
13 * Settings
14 */
15 Merchant_Admin_Options::create( array(
16 'title' => esc_html__( 'Settings', 'merchant' ),
17 'module' => 'inactive-tab-message',
18 'fields' => array(
19
20 array(
21 'id' => 'message',
22 'type' => 'text',
23 'title' => esc_html__( 'Message', 'merchant' ),
24 'desc' => esc_html__( 'This message will be shown if there\'s no item in the cart when user switches to another tab', 'merchant' ),
25 'default' => esc_html__( '✋ Don\'t forget this', 'merchant' ),
26 ),
27
28 array(
29 'id' => 'abandoned_message',
30 'type' => 'text',
31 'title' => esc_html__( 'Abandoned cart message', 'merchant' ),
32 'desc' => esc_html__( 'This message will be shown if the user left items in the cart when user switches to another tab', 'merchant' ),
33 'default' => esc_html__( '✋ You left something in the cart', 'merchant' ),
34 ),
35
36 ),
37 ) );
38