Hello Everyone. Does anyone know how to fetch only...
# suitecommerce
s
Hello Everyone. Does anyone know how to fetch only one facet on PDP ? I could have used "facets.exclude" parameter, but that won't be a permanent solution as facets are being added/removed periodically.
k
How do you intend to use the facet on the PDP, you only have one item?
s
Actually I want to use 'Brand' facet on PDP which will fetch the brand name and brand url for that specific product.
So that customer can use that brand url to view other products of same brand.
k
Do you not have access to that information on the pdp component, or the product model?
s
Nope. I only able to get the Brand name not the url, which is being generated as facet url component.
k
look at the environment component, facets with url components should be there
or in the dev console type SC.ENVIRONMENT
s
No. Its not there. I did check.