Magento : Special price not displaying in the product page

Magento : Special price not displaying in the product page

July 10, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento : Special price not displaying in the product page

Solving the Magento Special Price Display Issue on Product Pages

As an experienced e-commerce developer, I often encounter issues where special pricing rules are applied correctly but fail to display on the product page. This is a common problem in Magento that can be attributed to various causes, from theme customizations to configuration settings.

Understanding the Special Price Mechanism in Magento

Magento uses the catalog_product_index_price table to store and manage special prices for products. When you apply a special price rule or manually set one for an individual product, Magento updates this table accordingly.

The special price is typically displayed on category pages, search result pages, and even in mini-carts. However, displaying it on the full product page requires additional configuration.

Investigating the Custom Theme Issue

If you’re using a custom theme, there could be several reasons why the special price isn’t appearing:

  1. Template Overrides: Your theme might have overridden core Magento templates that handle the display of special prices. Double-check if your catalog/product/view.phtml or similar files are correctly calling the functions required to fetch and display the special price.

  2. Theme Configuration Settings: Some themes come with custom configuration options that may be preventing the special price from displaying. Review your theme’s admin settings in the “Configuration” section under “Catalog” > “Price”.

Ensuring Proper Special Price Display

To ensure the special price is displayed on the product page, follow these steps:

1. Check the Product Indexes

Use the following commands to rebuild the necessary indexes:

php bin/magento indexer:reindex catalog_product_index_price
php bin/magento cache:clean

The first command re-indexes the price data while the second clears the cache.

2. Set the Correct Attribute Display Settings

Navigate to “Stores” > “Attributes” > “Manage Attributes”. Find the “Special Price” attribute (attribute code special_price). Ensure that it is set to be visible (“Yes”) and searchable (“Searchable in Website”). Save your changes.

3. Verify Template Files

Check if your custom theme’s template files are correctly calling the necessary functions:

In your theme’s catalog/product/view.phtml file, ensure something like this exists within the loop that displays the product information:

$_product = $block->getProduct();
if ($_product->isSaleable() && $_product->getSpecialPrice()) {
    echo 'Special Price: ' . $_product->getSpecialPrice();
}

This code snippet checks if the product is saleable and has a special price, then displays it.

Resolving Magento Special Price Issues

If you’ve checked all the above points but the issue persists, consider these additional steps:

  • Review the theme documentation: Your custom theme’s developers might have specific instructions for displaying special prices.
  • Enable developer mode: To help pinpoint any theme-specific issues, enable Magento Developer Mode: php bin/magento deploy mode:show and ensure it says “default”.
  • Check for JavaScript conflicts: Sometimes, front-end scripts can interfere with the price display. Review your custom JavaScript files.

Conclusion

In most cases, the issue lies in either theme-specific overrides or configuration settings that prevent the special price from being displayed on the product page. Always ensure you’ve rebuilt indexes and checked both theme templates and configuration settings.

Remember to review our comprehensive guides at Laravel Company for more tips on Magento development best practices.

If you’re still facing issues, don’t hesitate to reach out to a qualified Magento developer or support team for further assistance.

Checkout Catalog Database Themes

Our network