How can i set a 'featured collecion' in liquid in shopify 'Ride' theme
my site plek.co.za
In my store I have two types of products:
‘Destinations’ ‘Accommodation’
For each destination which has accommodation, I create a Collection:
‘Destination-Accommodation’
I would now like, for each Destination product page which has accommodation, to set a ‘Featured Collection’ block on the product template named ‘Destination-Accommodation’ (i know the handle of each featured collection)
Here is an example for destination 'langebaan' which contains the 'langebaan accomodation' featured collection.
https://plek.co.za/products/langebaan (https://plek.co.za/products/langebaan)
i want to set the correct featured collection for 2500 destinations!
this page describes how to do it, but in a different theme, it does not work in Ride theme
https://burstcommerce.com/guides/how-to-feature-collections-on-shopify-using-liquid/ (https://burstcommerce.com/guides/how-to-feature-collections-on-shopify-using-liquid/)
any tips appreciated
thanks
Matthew
i'm getting a liquid syntax error when i try and call the snippet (as per instructions on the burstcommerce link)
{% include 'langebaan-accommodation' with handle: 'langebaan' %}
Source
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.