Related products for Brooklyn theme

Solved
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
Shopify Expert
2167 364 453

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
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
Shopify Expert
2167 364 453

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
Shopify Expert
2167 364 453

 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
Tourist
5 0 0

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

0 Likes
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