does SCA respect related items settings? doesn't s...
# suitecommerce
k
does SCA respect related items settings? doesn't seem so...
a
It should. In what way is it not working for you?
k
I have set "only show related items" however correlated items are displaying
I'm going to set values ridiculously high to see if they go away. I can always edit the template but this really should work
p
There are two search api calls done for every PDP request aside from the main details request, one for related and another for correlated so my guess is that the setting you mean in webstore setup is not honored indeed
there is a “getrelateditems” or similar Commerce api method that SCA does not use which honors the preference. I’ve used it for a reference cart & checkout implementation.
(not saying that you should use that, commenting out divs in the theme should be more practical in this case)
k
thanks Pablo - i did end up just commenting them out in the template.