Filtering homepage using JavaScript
Summary:
We have a custom homepage built with JavaScript. We want to filter the page based on the contract type, which is a commerce attribute, but are having trouble fetching the attribute from commerce while rendering the page. We already filter the page based on user type (_BM_USER_FULL_ACCESS) and user group (_BM_USER_GROUPS.includes("salesOps")) but don't know how to get the commerce attribute value to persist when coming from a quote using the Add Products action. Is there a path we can use to grab the commerce attribute and value?
Content (please ensure you mask any confidential information):
0