Troubleshooting
Price Notices Are Not Displayed
Section titled “Price Notices Are Not Displayed”Check Settings
Section titled “Check Settings”- Verify that the module is active
- Check the display condition (on sale/not on sale/on backorder)
- Verify that the notice has text filled in
Only Displayed on Product Detail
Section titled “Only Displayed on Product Detail”Price notices are displayed only on the product detail page, not in:
- Product listings
- Cart
- Checkout
- Widgets
This is intentional behavior to maintain a clean appearance.
Theme Conflict
Section titled “Theme Conflict”Some themes override the price template. Check:
// If it exists, it may override the module outputCustom Prices Are Not Displayed
Section titled “Custom Prices Are Not Displayed”Missing Value on Product
Section titled “Missing Value on Product”- Open the product detail in admin
- In the General tab, check the custom price fields
- Enter a value and save
Type “Lowest price” Not Working
Section titled “Type “Lowest price” Not Working”Requirements:
- Active Price History module
- Product has recorded price history
- Display condition is met
Solution:
- Activate the Price History module
- Wait for a price change to create a record
- Check the “Prices log” tab on the product
Type “Price by unit” Shows Zero
Section titled “Type “Price by unit” Shows Zero”- The product must have a unit and number of units specified
- Number of units must not be 0
- The product must have a price set
Lowest Price Is Incorrect
Section titled “Lowest Price Is Incorrect”Missing Historical Data
Section titled “Missing Historical Data”The Price History module starts recording prices only after activation. If a product was discounted before the module was activated, historical data is missing.
Solution:
- History will start being collected from module activation
- For existing products, you can manually edit and save the price
Displays Current Price Instead of Lowest
Section titled “Displays Current Price Instead of Lowest”If a product has no historical records, the current price is displayed as the “lowest”.
Display Position Not Working
Section titled “Display Position Not Working”Custom Hook
Section titled “Custom Hook”If you are using a custom hook in the Custom location hook field:
- Verify that the hook exists in your theme
- The hook must be called on the product page
- Check the priority
// Verify that the hook existsadd_action( 'my_custom_hook', function() { echo '<!-- Hook is working -->';} );Cache Conflict
Section titled “Cache Conflict”Some cache plugins may cache the price HTML:
- Clear cache after changing settings
- Test with cache disabled
Tooltip Is Not Displayed
Section titled “Tooltip Is Not Displayed”Missing CSS
Section titled “Missing CSS”Check that the CSS module is loaded:
/wp-content/plugins/wpify-woo/build/prices.cssJavaScript Conflict
Section titled “JavaScript Conflict”Tooltip may require CSS hover effect:
.wpify-woo-prices__price-info__text { display: none;}.wpify-woo-prices__price-info:hover .wpify-woo-prices__price-info__text { display: block;}Diagnostics
Section titled “Diagnostics”Check Active Modules
Section titled “Check Active Modules”// In functions.php or debug pluginadd_action( 'init', function() { if ( function_exists( 'wpify_woo_container' ) ) { $prices = wpify_woo_container()->get( \WpifyWoo\Modules\Prices\PricesModule::class ); var_dump( $prices->get_setting( 'price_notices' ) ); var_dump( $prices->get_setting( 'custom_prices' ) ); }} );Check Product Meta Data
Section titled “Check Product Meta Data”In product admin using a plugin like “Advanced Custom Fields” or:
$custom_prices = get_post_meta( $product_id, '_custom_prices', true );print_r( $custom_prices );