PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 2.3.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v2.3.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
← All changes | inc/modules/size-chart/admin/options.php +33 -0 2.3.02.3.2 View file →
@@ -109,8 +109,41 @@
109 109
110 110 ),
111 111 ),
112 112 array(
113 + 'title' => esc_html__( 'Display position', 'merchant' ),
114 + 'module' => Merchant_Size_Chart::MODULE_ID,
115 + 'fields' => array(
116 +
117 + array(
118 + 'id' => 'display_hook',
119 + 'type' => 'hook_select',
120 + 'title' => esc_html__( 'Loading position and priority on single product', 'merchant' ),
121 + 'desc' => esc_html__( 'Where the button renders on the single product page. A lower priority number moves it higher. The add to cart positions only exist while a product is purchasable and in stock.', 'merchant' ),
122 + 'options' => array(
123 + '' => esc_html__( 'Default', 'merchant' ),
124 + 'woocommerce_single_product_summary' => esc_html__( 'After Product summary', 'merchant' ),
125 + 'woocommerce_before_add_to_cart_form' => esc_html__( 'Before add to cart form', 'merchant' ),
126 + 'woocommerce_after_add_to_cart_form' => esc_html__( 'After add to cart form', 'merchant' ),
127 + 'woocommerce_before_add_to_cart_button' => esc_html__( 'Before add to cart button', 'merchant' ),
128 + 'woocommerce_after_add_to_cart_button' => esc_html__( 'After add to cart button', 'merchant' ),
129 + ),
130 + 'min' => 1,
131 + 'max' => 999,
132 + 'step' => 1,
133 + 'unit' => '',
134 + 'order' => true,
135 + 'default' => array(
136 + 'hook_name' => '',
137 + 'hook_priority' => 10,
138 + ),
139 + 'ai_meta' => array(
140 + 'usage_hint' => 'Controls where the size chart button renders on the single product page. Leave hook_name empty to keep the default placement: inside the variation block for variable products, next to the add to cart button otherwise. Valid hook_name values are an empty string, woocommerce_single_product_summary, woocommerce_before_add_to_cart_form, woocommerce_after_add_to_cart_form, woocommerce_before_add_to_cart_button, woocommerce_after_add_to_cart_button. A lower hook_priority renders the button higher on the page.',
141 + ),
142 + ),
143 + ),
144 +),
145 + array(
113 146 'title' => esc_html__( 'Popup Design', 'merchant' ),
114 147 'module' => Merchant_Size_Chart::MODULE_ID,
115 148 'fields' => array(
116 149