“Add to Cart” not working for configurable products in Venia website
The Add to Cart feature for configurable products fails on the Venia demo site built with Adobe Experience Manager as a Cloud Service (AEMaaCS) when using the AEM Reference Demos Add-on, which includes outdated CIF Core Components. To fix this, disable the add-on, trigger a build pipeline with the latest Venia version, update dependencies in the pom.xml
file, and clear browser cache to resolve cart ID conflicts.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS) – Sites
Issue/Symptoms
The Out-of-the-box (OOTB) Add to Cart functionality doesn’t work for configurable products on the Venia demo site.
Cause
This issue is caused by the AEM Reference Demos Add-on, which includes an outdated version (2.12.0) of the AEM CIF Core Components.
Resolution resolution
To resolve this issue, follow these steps:
-
Go to your environment’s configuration settings and disable the AEM Reference Demos Add-on.
-
After disabling the add-on, retrigger your build pipeline. Make sure you’re using the latest version of the Venia demo project.
-
Once the build completes, test the Add to Cart feature for configurable products to confirm it’s working.
-
If the build fails due to functional testing or dependency conflicts:
- Update your Venia project to the latest compatible version.
- Ensure all dependencies are correctly configured in your
pom.xml
file.
-
If the issue persists, clear your browser cache and cookies to avoid cart ID conflicts between CIF sites on the same domain.
Related reading
Customize Adobe Experience Manager CIF Core Components in AEM 6.5