- images not showing on beyours theme,
Hi @Ashif2 ,
Because this is a custom theme → need check code to apply. This code only apply for basic theme( free theme) from Shopify.
Hi.This will work on Sense Theme? Thank you in advanced!
Hi,
Yes. It can work on Sense theme.
Hello, thanks for your code it works fine. But i wanted to ask how to make tabs mobile responsive. If I’m having 3 tabs with long titles - they’re being cut off on mobile version. how do i make it responsive?
@EBOOST , can you pls tell how to make the product images in potrait
thanks
We want to show quick add to cart button ?
Please help
Why is it when i add another one of this section it doesnt work?
DAWN 13 NOT WORK ?
Im still on DAWN 12. It works but when I add another one of that section it
doesnt work
I have bought California Theme from Shopify store. Will this code work on California theme?
Hi @nafraaj ,
I am not sure. Because this is not free theme. Maybe structure of theme will be different. You can try to add code above.
Maybe You only need to update snippets/card-product with card file of theme.
I did this but nothing happens
This is the code
{% if section.blocks.size > 0 %}
{{ section.settings.title }}
{% endif %}-
{% for block in section.blocks %}
{% assign collection = collections[block.settings.collection] %}
- {{ collection.title }} {% capture content %}
- {% render 'card-product', card_product: product, media_aspect_ratio: section.settings.image_ratio, image_shape: section.settings.image_shape, show_secondary_image: section.settings.show_secondary_image, show_vendor: section.settings.show_vendor, show_rating: section.settings.show_rating, show_quick_add: true, section_id: section.id %} {%- endfor -%}
-
{%- for product in block.settings.collection.products limit: 4 -%}
“settings”: [
{
“type”: “collection”,
“id”: “collection”,
“label”: “Collection”
}
]
}
],
“presets”: [
{
“name”: “Tabs”,
“blocks”:
}
]
}
{% endschema %}
Hi @wahab55 ,
Code above for Dawn theme. You can use code below for trade theme.
{% if section.blocks.size > 0 %}
{{ 'component-card.css' | asset_url | stylesheet_tag }}
{{ 'component-price.css' | asset_url | stylesheet_tag }}
{{ 'component-slider.css' | asset_url | stylesheet_tag }}
{{ 'template-collection.css' | asset_url | stylesheet_tag }}
{{ 'quick-add.css' | asset_url | stylesheet_tag }}
{% if section.settings.useslider %}
{% endif %}
{% if section.settings.title != blank %}
## {{ section.settings.title }}
{% endif %}
{% assign tabContent = '' %}
{% for block in section.blocks %}
{% assign collection = collections[block.settings.collection] %}
- {{ collection.title }}
{% capture content %}
{%- for product in block.settings.collection.products limit: 8 -%}
- {% render 'card-product',
card_product: product,
media_aspect_ratio: 'portrait',
image_shape: 'default',
show_secondary_image: true,
show_vendor: false,
show_rating: false,
section_id: section.id,
quick_add: 'standard'
%}
{%- endfor -%}
{% if block.settings.viewall %}
View all
{% endif %}
{% endcapture %}
{% assign tabContent = tabContent | append: content %}
{% endfor %}
{{ tabContent }}
{% endif %}
{% schema %}
{
"name": "Tabs",
"settings": [
{
"type": "text",
"id": "title",
"label": "Title"
},
{
"type": "checkbox",
"id": "useslider",
"label": "Use slider",
"default": true
}
],
"blocks": [
{
"type": "tab",
"name": "Tab",
"limit": 5,
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Collection"
},
{
"type": "checkbox",
"id": "viewall",
"label": "Show view all",
"default": true
}
]
}
],
"presets": [
{
"name": "Tabs",
"blocks": []
}
]
}
{% endschema %}
Hi, is it possible i only want add the link not the product?
Hi,
It’s possible. However, you need to change some code.
Hi, Thank you so much. How to change it? Could you help me?



