Add to Cart Button Visibility – PCV Configuration Impact

In certain cases, the Add to Cart button may not appear for logged-in users, even when viewing an item that is available for purchase. This behavior can vary across customers for the same item and is typically linked to the PCV (Price and Customer Visibility) setup.

Key Points:

  • The visibility of the Add to Cart button is controlled by the itemAPI response, specifically the _ispurchasable flag.
  • For the button to be displayed, _ispurchasable must be set to true.
  • If the PCV configuration is incorrect or incomplete for a given customer or item, _ispurchasable may return false, resulting in the button being hidden.
  • This issue can affect only specific users, depending on how PCV rules are applied.

Recommended Action:

If you encounter a scenario where the Add to Cart button is missing:

  1. Verify the PCV setup for the affected customer and item.
  2. Check the itemAPI response to confirm the value of _ispurchasable.
  3. If _ispurchasable is false due to PCV misconfiguration, update the PCV rules to ensure proper visibility.

Proper PCV configuration ensures consistent purchasing behavior across customer segments and prevents confusion during the shopping experience.

Leave a comment

Your email address will not be published. Required fields are marked *