Shopify themes, liquid, logos, and UX
Hi,
I would like to be able to swipe between products within the product page, which mean the customer could swipe from one product page to an other and won't have to scroll down on the collection page. I am using prestige theme
thank you in advance for any help!
Yes you can do it by adding code in theme
<div class="swiper-container">
<div class="swiper-wrapper">
{% for product in collection.products %}
<div class="swiper-slide">
<!-- Display product details here -->
<h2>{{ product.title }}</h2>
<p>{{ product.description }}</p>
<!-- Add any other product information you want to display -->
</div>
{% endfor %}
</div>
</div>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script>
var swiper = new Swiper('.swiper-container', {
slidesPerView: 'auto',
spaceBetween: 10,
// Add any other Swiper options you want to configure
});
</script>
files in product.liquid
This will involve a bit of coding in the code editor. Do you have any experience coding in Shopify?
Hi @shanabenittah
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024