has_related_products? doesnt work like you should expect
reinaris opened this issue · comments
Rein commented
The has_related_products?
method on a product (explained in the Readme) doesn't work like the example tells you.
product.has_related_products?("accessories")
just checks if the relation type "accessories" is defined in general. Not if the product got relations with relation type "accessories".