Hi @ChiragShah
I am from Mageplaza - Shopify solution expert.
You can configure it to display two collections side by side as follows:
To enable loading collections via AJAX, you can customize your theme:
- Create the file: sections/collection-ajax-products.liquid
{% for product in collection.products limit: 8 %}
{% render 'product-card', product: product %}
{% endfor %}
- Create the file: sections/collection-ajax.liquid
{% section 'collection-ajax-products' %}
- Create the file: sections/collection-tabs.liquid
{% comment %} Section: Collection Tabs {% endcomment %}
{% for block in section.blocks %}
{% assign collection = collections[block.settings.collection] %}
{% if collection %}
- {% if collection.image %}
{% endif %}
### {{ collection.title }}
{% endif %}
{% endfor %}
{% schema %}
{
"name": "Collection Tabs",
"tag": "section",
"class": "collection-tabs-section",
"settings": [
{
"type": "range",
"id": "columns_desktop",
"label": "Columns on desktop",
"min": 1,
"max": 5,
"default": 3
},
{
"type": "select",
"id": "columns_mobile",
"label": "Columns on mobile",
"options": [
{ "value": "1", "label": "1" },
{ "value": "2", "label": "2" }
],
"default": "1"
}
],
"blocks": [
{
"type": "collection",
"name": "Collection",
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Select collection"
}
]
}
],
"max_blocks": 10,
"presets": [
{
"name": "Collection Tabs",
"category": "Collections",
"blocks": []
}
]
}
{% endschema %}
Note: Customize the HTML according to your specific requirements.
After that, you can add the Collection Tabs section similarly to how you create a collection list.
Please let me know if you have any questions or concerns. Thank you very much!