Among the various layout settings that I have chosen for my shopify site is this carousel in which the products of a single category are scrolled. How can I modify it to be able to insert a carousel for each category on the site?! thank you
{% assign type = "c" %}
{% if settings.productscarousel_title != "" %}
{% if settings.productscarousel_product_to_display != "" and settings.productscarousel_product_to_display != "0" %}
{% assign limit = settings.productscarousel_product_to_display %}
{% else %}
{% assign limit = 6 %}
{% endif %}
{% for product in collections[settings.productscarousel_collection].products limit:limit %}
{% include 'product-grid-item' with type %}
{% endfor %}
{% else %}
{% unless emptyState %}
{{ 'theme-onboarding.css' | global_asset_url | stylesheet_tag }}
{% assign emptyState = true %}
{% endunless %}
{% include 'onboarding-featured-products' %}
{% endif %}
1 Like
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
1 Like
Thank you. In summary I would like to insert a carousel of products on the home page, as it is called in the theme I use, for each category already present and for any future ones. I would also like to be able to make the writing above each carousel linkable, so that it can be used to enter the various categories. thank you.
