ACSD-69308: Catalog price rules are not applying when special_price is set at website level
The ACSD-69308 patch fixes the issue where catalog price rules did not apply when special_price was set only at the website level (not at “All Store Views”). After the fix, catalog price rules are correctly applied by checking the website’s default store first. This patch is available when the Quality Patches Tool (QPT) 1.1.76 is installed. The patch ID is ACSD-69308. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.8
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.8-p3
magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Catalog price rules did not apply when special_price was configured only at the website level. The system did not recognize the price correctly for products assigned to a specific store view, resulting in inconsistent pricing.
Steps to reproduce:
- Log in to the Admin panel.
- Create a custom Website, Store and Store View (web2).
- Set Catalog Price Scope to Website.
- Set Use for Promo Rule Conditions to Yes for the
special_priceattribute. - Create the following catalog price rule.
Website: web2
Conditions:
Special Price greater than 15
Special Price less than 50
Actions:
Apply: Apply as percentage of original
Discount Amount: 100
- Create two products assigned only to the web2 store view.
Product 01:
Set Advanced Pricing:
All Store View Scope: 30.00
web2 scope: 40.00
Product 02:
Set Advanced Pricing:
All Store View Scope: keep empty
web2 scope: 40.00
- Reindex and load each product on the storefront under the web2 store view.
Expected results:
The catalog price rule should be applied for the web2 store view. Product 02 should show a price of 0.00, because its special price matches the catalog rule condition.
Actual results:
- Product 01: Price shows as 0.00, which matches the catalog rule condition.
- Product 02: Price shows as 40.00, which is not expected, as the catalog rule should be applied based on the special price set at the website level.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.