You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!