QUALITY PATCH

ACSD-46618: The ACSD-46618 patch solves the issue where the product list widget shows incorrect…

The ACSD-46618 patch solves the issue where the product list widget shows incorrect cached prices for a logged-in customer. Quality patch ACSD-46618 for magento/module-catalog-widget applies to Magento Open Source and Adobe Commerce 2.4.0 to 2.4.5-p17.

Categories
Price/Tax, Cache
Components
magento/module-catalog-widget
Origin
adobe-commerce-support
Since QPT
1.1.21

Issue

The ACSD-46618 patch solves the issue where the product list widget shows incorrect cached prices for a logged-in customer.

Steps to reproduce

1. In the Adobe Commerce Admin, select Stores, then Configuration, expand Sales, and select Tax. Update the tax settings to show prices including and excluding taxes. 1. Set Enable Cross Border Trade = _Yes_. 1. Create a tax rule that only applies to the US. 1. Add a widget to the home page including more than one product. 1. Create two customers with a US address and a non US address. 1. Log in using the US customer from the storefront. Make sure that the page is cached. 1. Observe the price displayed in the home page widget. 1. Log out and log in using the non-US customer.

Adobe's page lists 2.4.0 - 2.4.5 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Adobe scheduled the permanent fix for 2.4.6.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-46618. On Cloud, add ACSD-46618 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-46618/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (1): magento/module-catalog-widget
Packages across compatible versions (1): magento/module-catalog-widget

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.