This article will help you understand about the related product and how to config it with Gecko Shopify Theme
- There are 2 conditions you need config to make sure it related product will work. To start config related product, you can go to Theme Setting > Product Page > Related Products
1. The first condition, all product must be the same collection.
Let see the screenshot above, I have all the products in the Clothing collection
2. The second condition, products related must be same tags, have handled as a tag. See more detail below
From Theme Setting > Product Page > Related Product, you will see have 3 related products types here and you need to choose one of them
Type 1: By Collection :
When you choose Collection type, you ‘ll see all of the products of the collection will show as related products
Type 2: By Tags :
I have 2 products
As you can see they have same tags: Clothing, Color Black, Color Blue, XS, XL….
So product 2 will be a related product from product 1
See another product, it also has the same tags with product 1 and that why they are showing here
Type 3: By Handle :
With handle, you can choose exactly which product you want to show as the related product by entering handle name of the main product to related product
You can see what is handle here: https://help.shopify.com/themes/liquid/basics/handle
Let see with Gecko, I have produced 1 with handle “sporty-t-shirt” and I will enter it with the tag to related product 2
So product 1 will show product 2 as a related product, you can see it here
Do the same by entering another product handle, you will manage which product you want to show
Type 4: By ID
It's the same By Handle!
+ Let see with Gecko, I have a product with ID “2322964283469” and I will enter it with the tag to related product 2.
+ Get the ID product 1.
+ Paste it in the tag of product 2.