# merchant/2.2.7/admin/classes/admin-options/fields/text-readonly/template.php

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

- Page: https://pluginprobe.com/plugins/merchant/2.2.7/code/admin/classes/admin-options/fields/text-readonly/template.php
- Raw: https://pluginprobe.com/plugins/merchant/2.2.7/raw/admin/classes/admin-options/fields/text-readonly/template.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/admin/classes/admin-options/fields/text-readonly/template.php#L10-L20`.

```php
<?php
/**
 * Template: Text Readonly field.
 *
 * @var array<string, mixed>  $settings  Field configuration.
 * @var mixed  $value     Current saved value.
 * @var string $module_id Module ID.
 *
 * @package Merchant
 * @since   2.2.5
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<input type="text" value="<?php echo esc_attr( $value ); ?>" readonly/>

```
