PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.21
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.21
1.10.25 1.10.24 1.10.23 1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 All 169 releases
woocommerce-pos / includes / Admin / Products / templates / variation-metabox-pos-barcode.php

variation-metabox-pos-barcode.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.21, at includes/Admin/Products/templates/variation-metabox-pos-barcode.php

29 lines 912 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin View: Variation Metabox.
4 *
5 * @package WCPOS\WooCommercePOS
6 */
7
8 if ( ! \defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11
12 /**
13 * Variation metabox POS barcode template.
14 *
15 * @var \WP_Post $variation
16 * @var string $value
17 */
18 ?>
19
20 <div>
21 <p class="form-row form-row-full">
22 <label for="variable_pos_barcode[<?php echo esc_attr( (string) $variation->ID ); ?>]">
23 <?php /* translators: Product POS visibility or barcode label in WooCommerce admin. */ esc_html_e( 'POS Barcode', 'woocommerce-pos' ); ?>
24 <?php echo wc_help_tip( __( 'Product barcode used at the point of sale', 'woocommerce-pos' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- wc_help_tip() returns escaped HTML. ?>
25 </label>
26 <input type="text" name="variable_pos_barcode[<?php echo esc_attr( (string) $variation->ID ); ?>]" value="<?php echo esc_attr( $value ); ?>">
27 </p>
28 </div>
29