Related products for Brooklyn theme

Solved
Highlighted
Tourist
5 0 0

Hi 

 

Can you assist me too please?  I have having this same issue here -- 

"This actually isn't working for me - when I enable the related products I just get a small black bar, and nothing comes up." 

Website: https://www.boneandoak.com/products/bone-and-oak-mct-oil

 

I have the file "product-grid-item.liquid " within my theme already. Any other suggestions I can look for? Thank you!

0 Likes
 
 
0 Likes
Highlighted
Shopify Expert
2626 440 565

I have checked on page, related product section cant loading.

have you added "relate-product.liquid" (may be you have different) in template->product.liquid  file? 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
Tourist
5 0 0

Thanks for the reply!  I followed these steps:

 

1. Go to Online store->theme->edit code

2. Create new section and give name related-products and paste this code in file.

3. Open template->product.liquid and paste  {% section 'related-products' %} bellow product-template. it look like bellow 

 

{% section 'product-template' %}
{% section 'related-products' %}

4. Open customize editor->open any product->on left side you can see Related products section open it and check Show related products box and save it.

 

Based on your instructions, I named the file "relate-products.liquids" and added "{% section 'related-products' %}" to product.liquid. I hope that's ok.

0 Likes
Highlighted
Shopify Expert
2626 440 565

OK, now need to check in code may be something goes wrong for your theme. add me as staff and pm me

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
Shopify Expert
2626 440 565

 You have assigned "frontpage" collection in condition and this condition cant get product from its collection.

 

{% assign exclusions = 'frontpage,all' | split: ',' %}

Here on your store you have only "frontpage" collection and its added in exclusions condition. 

Now working fine.

 

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Highlighted
Tourist
5 0 0

That make sense! Checked and it works beautifully. Thank you for your patience, time and hard effort !! =) 

0 Likes
Highlighted
New Member
1 0 0

Thank you so much for this, I've been trying to figure out how for a little while now and your tutorial is the only thing that worked. Just wanted to let you know. Thanks again. 

0 Likes
Highlighted
New Member
7 0 0

I don't have the " {% section 'product-template' %} " on my product.liquid. I think this thread is for the other Brooklyn theme. I need help.

 

0 Likes
Highlighted
Shopify Expert
2626 440 565

You can check in template->product.liquid file and check which file added.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
New Member
3 0 0

So I've done everything you said so far. When I got to customize my theme I can see the "related products" tab on the left while on my product page, but on the actual page there is nothing there.

0 Likes