Hi Community,
I need help on a matter related to Collections and Sub collections. Please see the following points:
- How do we call a Sub Collection in a product liquid file? For example, for calling Main Collection we type the following code:
{% assign product_collection = product.collections.first %}
{% if product_collection %}
See More Products From {{ collection.title | link_to: collection.url }} Collection
So like that if we want to do the same for sub-collections, then can you help me by re-phrasing the above code?
-
Suppose I have one main Collection “A” and under it I have “B” and “C”. So how do I write the same above listed code so that the output on Shopify page displays “See More Products From A , B, and C” with their respective links to their collection pages
-
Suppose I have 3 Main Collections (A, B, and C). A Product X is in Collection A, and I want to have an output like “See More products from Collections B & C”. How do I do that?
Please note that these are to be used only in Product Pages. An Example screenshot of how the output should look like and consist of is also attached here.
Please let me know any solution for these.
Thanks
V