# merchant/2.2.7/inc/modules/inactive-tab-message/admin/options.php

Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together &amp; More for WooCommerce – Merchant, version 2.2.7. 38 lines.

- Page: https://pluginprobe.com/plugins/merchant/2.2.7/code/inc/modules/inactive-tab-message/admin/options.php
- Raw: https://pluginprobe.com/plugins/merchant/2.2.7/raw/inc/modules/inactive-tab-message/admin/options.php
- Modified: 2026-05-21T18:12:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/merchant/2.2.7/code/inc/modules/inactive-tab-message/admin/options.php#L10-L20`.

```php
<?php
/**
 * Inactive Tab Message
 * 
 * @package Merchant
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Settings
 */
Merchant_Admin_Options::create( array(
	'title'  => esc_html__( 'Settings', 'merchant' ),
	'module' => 'inactive-tab-message',
	'fields' => array(

		array(
			'id'      => 'message',
			'type'    => 'text',
			'title'   => esc_html__( 'Message', 'merchant' ),
			'desc'    => esc_html__( 'This message will be shown if there\'s no item in the cart when user switches to another tab', 'merchant' ),
			'default' => esc_html__( '✋ Don\'t forget this', 'merchant' ),
		),

		array(
			'id'      => 'abandoned_message',
			'type'    => 'text',
			'title'   => esc_html__( 'Abandoned cart message', 'merchant' ),
			'desc'    => esc_html__( 'This message will be shown if the user left items in the cart when user switches to another tab', 'merchant' ),
			'default' => esc_html__( '✋ You left something in the cart', 'merchant' ),
		),

	),
) );

```
