var cart = new sn_sc.CartJS(); var userName = cart.getRequestedForDisplayName(); gs.info(userName);
How to Returns the name of the user for whom the current cart is requested using CartJS
Working Code Asked question December 20, 2024
var cart = new sn_sc.CartJS(); var userName = cart.getRequestedForDisplayName(); gs.info(userName);