Price movers
Price Movers – Highlighting the Biggest Discounts
Last updated
Price Movers – Highlighting the Biggest Discounts
Last updated
Want to showcase products that have recently dropped in price? The Price Movers feature lets you do exactly that—by displaying products with the biggest recent discounts, either as a widget or shortcode block.
Content Egg tracks historical price data for each product in your site’s database. This allows it to detect price drops and display the best deals based on configurable filters.
You can control the tracking period via:
Settings → Content Egg → Price Alerts → Price Drop Period
This sets the maximum age (in days) of price history used to compare old vs. new prices. A longer period increases the chance of detecting a discount.
The Price Movers Widget lets you display a sidebar or block section with the top discounted products during a given period.
To use:
Go to Appearance → Widgets
Add the “Price Movers” widget to your desired sidebar or block area.
Set options such as:
Number of products to show
Drop type: absolute or relative
Timeframe for last price update
Included/excluded modules
After adjusting the "Price Drop Period", wait for the next scheduled price update. The changes will apply only after new price history is recorded.
You can also show discounted products directly on pages (e.g., homepage, category page, etc.) using a shortcode.
limit
Number of products to display (default: 5
)
drop_type
Type of drop: absolute
(raw value) or relative
(percentage)
direction
drops
(price decreases) or increases
(price hikes)
last_update
Max age (in days) of last update to consider (e.g., 7
)
include_module_ids
Comma-separated list of module IDs to include (e.g., Amazon,Walmart
)
exclude_module_ids
Comma-separated list of module IDs to exclude
template
Layout: price_movers_grid
or price_movers_list
Ensure price history is enabled in module settings.
Price Movers needs at least two recorded prices per product to calculate changes.
Here is a clearer, more professional, and user-friendly rewrite of your Custom Price Movers Templates documentation section:
Advanced Users Only: This section is intended for developers or users comfortable editing PHP templates.
You can fully customize the output of the Price Movers widget by creating your own template.
Locate Default Templates Navigate to the following directory in your WordPress installation:
Copy one of the following files:
wdgt_price_movers_list.php
(List view)
wdgt_price_movers_grid.php
(Grid view)
Paste into the Custom Template Directory Create a new directory if it doesn’t already exist:
Paste your copied file into this directory.
Rename the File
Rename the file while keeping the wdgt_
prefix. For example:
Edit the Template Open the file and make any changes needed to the layout, HTML structure, or styling.
Include the Default CSS and a Div Container (optional) To include the default CSS, add the following code to your template:
Next, add the following div container:
Once created, your custom template will appear in the Price Movers widget template dropdown with a [custom]
prefix.
To use it with a shortcode, specify the template name (without the .php
extension):
Make sure to use the custom/
prefix, and ensure the filename matches exactly what you specify in the shortcode.