Skip to content

Troubleshooting

  1. Verify that the module is active
  2. Check the display condition (on sale/not on sale/on backorder)
  3. Verify that the notice has text filled in

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.

Some themes override the price template. Check:

woocommerce/single-product/price.php
// If it exists, it may override the module output
  1. Open the product detail in admin
  2. In the General tab, check the custom price fields
  3. Enter a value and save

Requirements:

  1. Active Price History module
  2. Product has recorded price history
  3. 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
  1. The product must have a unit and number of units specified
  2. Number of units must not be 0
  3. The product must have a price set

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

If a product has no historical records, the current price is displayed as the “lowest”.

If you are using a custom hook in the Custom location hook field:

  1. Verify that the hook exists in your theme
  2. The hook must be called on the product page
  3. Check the priority
// Verify that the hook exists
add_action( 'my_custom_hook', function() {
echo '<!-- Hook is working -->';
} );

Some cache plugins may cache the price HTML:

  1. Clear cache after changing settings
  2. Test with cache disabled

Check that the CSS module is loaded:

/wp-content/plugins/wpify-woo/build/prices.css

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;
}
// In functions.php or debug plugin
add_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' ) );
}
} );

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 );