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/complementary-products/admin/options.php +37 -0 2.3.02.3.2 View file →
@@ -268,8 +268,45 @@
268 268
269 269 ),
270 270
271 271 array(
272 + 'id' => 'include_subcategories',
273 + 'type' => 'switcher',
274 + 'title' => esc_html__( 'Include subcategories', 'merchant' ),
275 + 'desc' => esc_html__( 'When enabled, selecting a parent category also applies to all of its child categories.', 'merchant' ),
276 + 'default' => 0,
277 + 'conditions' => array(
278 + 'relation' => 'OR',
279 + 'terms' => array(
280 + array(
281 + 'field' => 'rules_to_display',
282 + 'operator' => '===',
283 + 'value' => 'categories',
284 + ),
285 + array(
286 + 'relation' => 'AND',
287 + 'terms' => array(
288 + array(
289 + 'field' => 'rules_to_display',
290 + 'operator' => 'in',
291 + 'value' => array( 'all', 'tags', 'brands' ),
292 + ),
293 + array(
294 + 'field' => 'exclude_categories_toggle',
295 + 'operator' => '===',
296 + 'value' => true,
297 + ),
298 + ),
299 + ),
300 + ),
301 + ),
302 + 'ai_meta' => array(
303 + 'semantic_group' => 'product_targeting',
304 + 'usage_hint' => 'Enable so selected parent categories also cover their child categories, for both targeting and exclusion. Off by default, which matches only the exact categories chosen.',
305 + ),
306 + ),
307 +
308 + array(
272 309 'id' => 'exclude_tags_toggle',
273 310 'type' => 'switcher',
274 311 'title' => esc_html__( 'Exclude product tags', 'merchant' ),
275 312 'default' => 0,