The MDVA-33168 patch fixes the issue where using the API async endpoint to update a product attribute unsets a special price.
This patch is available when the Quality Patches Tool (QPT) 1.0.20 is installed. The patch ID is MDVA-33168. Please note that the issue is planned to be fixed in Adobe Commerce version 2.4.3.
The patch is created for Adobe Commerce version:
Adobe Commerce on cloud infrastructure 2.3.3-p1
Compatible with Adobe Commerce versions:
Adobe Commerce on cloud infrastructure and Adobe Commerce on-premises 2.3.3 - 2.4.2
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the 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.
Steps to reproduce:
Create two websites with stores.
Go to Stores > Configurations > Catalog > Catalog > Price > Catalog and Set Price Scope = Website.
Create a text-type product attribute. Leave all the options to default.
Add the attribute created to the default attribute set.
Create a simple product to use with a bundle product.
Create a bundle product with the following Example options:
Under Bundle Items, set these Example options:
Switch the scope to the non-default store, and set the special price. (Example: on the Advanced Pricing page, set Special Price = 4%, and Price View = Price Range.)
Update the new attribute only in the non-default store scope, like this Example:
PUT {{base_url}}/rest/en_au/async/V1/products/{{sku}} { "product": { "custom_attributes": [ { "attribute_code": "text_attr", "value": 21 } ] } }
Expected results:
Other attribute values remain the same when updating a product attribute using async rest API, as expected.
Actual results:
The special price, that was set using async rest API under the store scope, gets removed.
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to the Patches available in QPT in our developer documentation.