Skip to content

Commit

Permalink
VCST-192: Anonymous Cart Reset Issue Upon Browser Refresh (#670)
Browse files Browse the repository at this point in the history
fix: An issue was identified where the anonymous cart was being reset upon browser refresh. Virto Storefront, Virto Commerce Experience and Profile Experience module should be updated as well.
  • Loading branch information
OlegoO committed Feb 15, 2024
1 parent 03c8432 commit 8378bef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ protected void AddCurrentUser(HttpRequestMessage request)
else
{
request.Headers.Add("VirtoCommerce-User-Name", "Anonymous");
request.Headers.Add("VirtoCommerce-Anonymous-User-Id", currentUser?.Id);
}
}
}
Expand Down

0 comments on commit 8378bef

Please sign in to comment.