Hi, I am using Theme Trade 15.1.0 and I want to add the section “related products” to my productpage. But the carrousel layout isn’t possible. Is there a possibility to fix this? Because a carroussel layout for example “featured collection” is possible, so wht not for “related products”
I understand you want to implement a carousel layout for the “Related Products” section on your product page. While the theme doesn’t natively support a carousel for “Related Products,” you can customize the theme by following these steps:
Step-by-Step Solution:1. Create or Edit the “Related Products” Section
Go to Online Store > Themes > Actions > Edit Code.
In the Sections folder, locate the section handling related products (often named related-products.liquid). If it doesn’t exist, create a new section.
Add Carousel Code to the Related Products Section
Modify the section or create a custom one by adding the following slick carousel code:
Scroll down in the same related-products.liquid file and add the following JavaScript code to enable the carousel (you can use libraries like Slick Carousel
Add Styles for the Carousel (CSS)
In your theme’s CSS file (theme.scss.liquid or theme.css), add the following styles:
Hi Rajweb, thanks a lot! But unfortunatly it didn’t succeed for me… Can you maybe help me? I have added all the codes but I think in the wrong position and step 4 I don’t understand since I don’t have theme.scss.liquid or theme.css in my codes…