General settings
In this section, you can configure label behavior for configurable products, restrict label display on specific pages, set the date format, and adjust other settings for the optimal functioning of the extension.
The general settings are located at Store -> Configuration -> Mirasvit Extensions -> Catalog label, and consist of the following sections:
Label behavior and display options
- Flush dependent pages cache after creating a new product: when this option is set to Yes, all pages where this product is displayed or mentioned will be automatically flushed (i.e., their cached versions will be purged). This allows you to quickly update parts of your store when a new product arrives, without needing to regenerate the entire cache. It is especially useful if you have a very complex store and/or caching plays a critical role in performance.
- Apply labels to child products of configurable products: when enabled, the extension will assign labels to the child products of configurable products. Labels will update dynamically after swatch option(s) are selected. Products filtered by swatch attributes will display labels based on the corresponding child products.
tip
Please reindex the Product Label Index after changing this setting.
- Apply labels to configurable products if one of the child products meets the conditions: when enabled, this option allows assigning a label to the parent (configurable) product if at least one of its child products meets the rule conditions.
note
Enabling this option will increase the reindex time of the
Product Label Index
. - Discount Output precision: number of decimal places shown for the product discount value in labels (E.g.,
1.5%
vs1.538%
). - Date format: if specified, this format will be applied to attributes with Date and Date and Time input types in the catalog (E.g.,
Y-m-d
,d.m.Y
,M j, Y
, etc.). - Don't use labels on pages: specify full action names or URL patterns to exclude labels from being displayed on certain pages.