Configuration
Admin Panel Settings
Navigate to Stores > Configuration > Qoliber > Omnibus Directive to configure the module.
Historical Prices Section
Enable Historical Prices
- Path:
omnibus_directive/general/active - Type: Yes/No dropdown
- Default: Yes
- Scope: Default
- Description: Enable or disable the historical price tracking and display feature
When enabled, the module will: - Track price changes for all products - Store the lowest price from the last 30 days - Display historical pricing information on product pages
When disabled, the module will: - Stop tracking new price changes - Hide historical price display on the frontend - Preserve existing historical price data
Show on Product List Page
- Field:
show_on_plp - Type: Yes/No dropdown
- Default: Yes
- Scope: Default
- Description: Determines whether historical prices are displayed on product listing pages (category, search, etc).
Show on Product Details Page
- Field:
show_on_pdp - Type: Yes/No dropdown
- Default: Yes
- Scope: Default
- Description: Determines whether historical prices are displayed on the product details page.
Always Show Historical Price
- Field:
always_show - Type: Yes/No dropdown
- Default: No
- Scope: Default
- Description: By default, historical prices are only shown if they are lower than the current price. Enable this option to always display the historical price information, even if it matches the current price.
Database Schema
Minimum Price Index Table
The module creates a custom table qoliber_omnibus_directive_min_price_index for dynamic pricing:
- product_id: Product identifier
- website_id: Website identifier
- customer_group_id: Customer group identifier
- min_price: Minimum price value
- min_price_date: Date when minimum price was recorded
This table is automatically maintained by the indexer system and provides fast access to historical pricing data.
Product Attributes
The module automatically manages two product attributes:
Historical Price Attribute
- Attribute Code:
historical_price - Type: Decimal
- Input Type: Price
- Scope: Global
- Required: No
- Visible: Yes (in admin grid)
- Searchable: No
- Filterable: No
Historical Price Updated At Attribute
- Attribute Code:
historical_price_updated_at - Type: Datetime
- Input Type: Date
- Scope: Global
- Required: No
- Visible: Yes (in admin grid)
- Searchable: No
- Filterable: No
Technical Configuration
Event Listeners
The module listens to the following Magento events:
catalog_product_save_after: Triggers historical price updates when products are saved
Configuration Paths
omnibus_directive/general/active: Main feature toggleomnibus_directive/general/product_prices: Pricing mode selectionomnibus_directive/general/show_on_plp: PLP display toggleomnibus_directive/general/show_on_pdp: PDP display toggleomnibus_directive/general/always_show: Toggle to always display the historical (30-day lowest) price, even if equal to current price
Dependencies
- Magento_Catalog: Required for product functionality
- qoliber/core: Required for base qoliber functionality
- qoliber/mysql-utils: Required by dynamic price indexer
- smile/elasticsuite: Optional for ElasticSuite indexing