does SCA respect related items settings? doesn't seem so...
a
ANHE
11/21/2019, 11:13 PM
It should. In what way is it not working for you?
k
kkennedydesign
11/21/2019, 11:14 PM
I have set "only show related items" however correlated items are displaying
kkennedydesign
11/21/2019, 11:15 PM
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
PabloZ
11/22/2019, 1:13 AM
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
PabloZ
11/22/2019, 1:15 AM
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.
PabloZ
11/22/2019, 1:18 AM
(not saying that you should use that, commenting out divs in the theme should be more practical in this case)
k
kkennedydesign
11/22/2019, 6:41 PM
thanks Pablo - i did end up just commenting them out in the template.