Try our conversational search powered by Generative AI!

Product in cart or wish list Visitor Group only works with logged in users

Found in

EPiServer.Commerce 9.0.0

Fixed in

EPiServer.Commerce 13.7.1

(Or a related package)

Created

Aug 30, 2019

Updated

Sep 11, 2019

Area

Core

State

Closed, Fixed and tested


Description

ProductInCartOrWishListCriterion uses PrincipalExtensions.GetUserGuid, which returns null if the user is not logged in. It should use PrincipalExtensions.GetContactId, which handles anonymous users.