I’m not sure how it was relating products together but is there a way of connecting related products to make this gallery actually show related products?
Thanks
I’m not sure how it was relating products together but is there a way of connecting related products to make this gallery actually show related products?
Thanks
If you are simply talking about the Wix Stores own Related Products addon as stated here.
https://support.wix.com/en/article/adding-a-related-products-gallery-in-wix-stores
Then it is not a code related issue and you should be going through Wix Support for more help with it.
https://support.wix.com/en/article/contacting-wix-customer-care-for-support
Note:
It is not possible to select the products that appear in the Related Products gallery. If you prefer to choose them manually, use the Slider Gallery instead.
If you want control of it yourself, then make up your own gallery through code.
https://support.wix.com/en/article/corvid-tutorial-adding-a-related-products-area-to-a-wix-store-product-page
@givemeawhisky Yes basically I was thinking that the related products would be items in the same collection but seems not, maybe this should be a feature add to be able to say which collections it shows.
I will conquer this code soon, many thanks.
@givemeawhisky Can you help me with changing the code so the related items shown are items in the same collection?
So I’ve managed to add related products to the products page.
The relationship has been set up in the new collection ‘relatedproducts’, products relate by referenced store/products, you cannot use store/collections with the same code, but is there a way to change the code to get products to relate to collections instead?
Thank you