Blog
Masz Sklep WordPress 2025 WooCommerce? Jak Zrobić Karuzelę Produktów w Gutenberg #shorts #wordpress

Crafting a compelling and conversion-focused online store requires more than just a list of products. It demands strategic presentation that guides your visitors, showcases your best offerings, and maximizes every pixel of screen real estate. For WordPress and WooCommerce store owners, the power to create these dynamic shopping experiences is already built into the platform, waiting to be unlocked.
If you’ve been relying on the classic "Products" block, you’re missing a significant opportunity. Today, we’re moving beyond the basics to explore how you can implement an engaging, interactive, and highly effective product carousel directly within the native WordPress editor.
Why a Product Carousel is a Game-Changer for Your WooCommerce Store
Before we dive into the "how," let’s establish the "why." A static grid of products is functional, but a carousel introduces motion and curation that can dramatically improve user engagement and sales.
- Highlight Best Sellers and Featured Items: A carousel allows you to curate a selection of products you specifically want to promote—whether they’re new arrivals, on sale, or your top-performing items. This guides customer attention strategically.
- Save Precious Space: E-commerce sites are often packed with information. A carousel enables you to display numerous products in a compact area, perfect for your homepage, category pages, or even a dedicated landing page.
- Increase Visibility and Discoverability: By automatically rotating through items, you give each product a moment in the spotlight. This can lead customers to discover products they might have scrolled past in a standard list.
- Improve User Experience (UX): A well-designed carousel with clear navigation arrows and dots is intuitive and fun for users to interact with. It adds a layer of professionalism and modern design to your store.
Your Tool for the Job: Mastering the Query Loop Block
Many store owners search for a dedicated "product carousel" block, but the true magic lies in combining two of Gutenberg’s most powerful blocks: the Query Loop block and the Group block. This method is future-proof and leverages the core functionality of WordPress.
The Query Loop block is intelligent. It doesn’t just display a static set of items; it dynamically queries your database based on parameters you set (e.g., product category, tags, featured status) and then outputs the results according to a template you design.
Here’s how to harness this power to build your carousel, step-by-step.
Step 1: Adding the Foundation Blocks
Navigate to the page or post where you want the carousel to appear. Click the (+) button to add a new block and search for "Query Loop." Select it.
You’ll be presented with several pre-made patterns. For a product carousel, the most straightforward choice is the "Products" pattern. This pre-configures the Query Loop to pull from your WooCommerce product catalog.
Step 2: Configuring the Query Parameters
Once the block is placed, you need to tell it exactly which products to display. Select the Query Loop block, and in the right-hand sidebar, you’ll find the "Query" settings.
This is where the curation happens:
- Query By: Ensure this is set to "Product."
- Categories: Be specific. Do you want to show products only from a "Summer Collection" or "Electronics" category? You can select one or multiple categories here.
- Order By: Choose how to order the products. "Title," "Date," "Price," and most importantly, "Popularity" (best sellers) are excellent options for a carousel.
- Featured Only: A fantastic option to create a carousel exclusively for products you’ve marked as "Featured" in their WooCommerce product data settings.
Set these parameters to match the goal of your carousel.
Step 3: Transforming the List into a Carousel
By default, the Query Loop will display products in a grid. Now comes the transformation.
- Select the outermost "Group" block that contains all the products. This is crucial.
- In the block toolbar, click the "List" view icon to see the block structure clearly. You should see Group -> Query Loop -> Post Template -> etc.
- With the Group block selected, go to the block settings on the right.
- Navigate to the "Styles" tab and scroll down to the "Layout" settings.
- Under "Type," you will see options like "Grid," "Flex," and "Carousel." Select "Carousel."
Like magic, your grid of products will instantly rearrange into a horizontal, sliding carousel.
Step 4: Refining the Carousel Design and Functionality
Your carousel is functional, but now it’s time to polish it. With the Group block still selected, explore the new settings that appear once you choose the Carousel layout:
- Navigation: Enable "Arrow" and/or "Dot" controls. Arrows provide clear navigation for users, while dots indicate how many slides there are and the user’s current position. It’s best practice to enable both.
- Auto Play: Should the carousel rotate automatically? This can be effective for capturing attention but use it judiciously. A interval of 5-7 seconds is standard—too fast and it becomes annoying.
- Loop: Enabling this allows the carousel to seamlessly jump from the last slide back to the first, creating an infinite scroll effect. This is generally recommended for a better user experience.
- Slide Width: This critical setting allows you to control how many products are visible at once. Adjust the slider to show 2, 3, or 4 products in the viewport simultaneously. This is key for making the design look professional and not cramped.
Advanced Customization and Pro Tips
To truly make this carousel your own, dive deeper into the blocks inside the Post Template.
- Styling Individual Elements: Click on each element within the product card—the image, the title, the price, the "Add to Cart" button. You can change colors, typography, spacing, and more using the built-in design tools. Ensure your styling is consistent with your store’s brand.
- Adjusting the Image Ratio: Select the product image block and change its aspect ratio (e.g., 1:1 for square, 4:3 for rectangular) to create a uniform, clean look.
- Performance Note: While carousels are engaging, be mindful that loading several product images at once can impact page speed. Ensure all your images are optimized and compressed before uploading. Tools like Smush or ShortPixel are invaluable for this.
- Mobile Responsiveness: The Gutenberg editor is inherently responsive. Always check how your carousel looks on mobile devices using the editor’s responsive view options. The number of slides visible will typically adjust down to one on mobile, which is perfect.
Conclusion: Elevate Your Store with Native WordPress Power
Building a product carousel in the WordPress Block Editor is not a hack; it’s a demonstration of using the platform’s sophisticated tools as they were intended. By mastering the Query Loop block and understanding the layout options within the Group block, you gain the ability to create dynamic, professional, and high-converting product displays without a single line of code or an extra plugin.
This approach offers unparalleled flexibility. You can create multiple carousels for different purposes: one for featured products on your homepage, another for related products on single product pages, and another for clearance items in a sidebar. The Query parameters make each one unique.
Stop settling for static lists. Embrace the dynamic capabilities of Gutenberg and transform your WooCommerce store into an interactive shopping experience that guides, engages, and converts your visitors into loyal customers.