MetaSlider works well for WooCommerce shop banners and promotional sliders. Here is how to use it for eCommerce contexts.
Creating a Promotional Banner Slider
A typical use case is a rotating banner on the shop homepage showing current promotions or featured product categories. Create a standard image slider in MetaSlider. For each slide:
- Upload a promotional banner image sized to your header or hero dimensions.
- Set the URL to link to the relevant product category or sale page.
- Add meaningful alt text describing the promotion (for accessibility and SEO).
- Add a caption with the promotion details if your theme displays slide captions.
Place the shortcode at the top of your WooCommerce shop page. In WooCommerce, go to Settings, then General and note your Shop page. Edit that page and add the MetaSlider shortcode at the top of the content.
Using MetaSlider Pro Product Slides
MetaSlider Pro includes a WooCommerce Product Slide type that automatically pulls product data — title, price, image, and Add to Cart button — from your WooCommerce product catalogue. To use it:
- Create a new slider in MetaSlider.
- Click Add Slide and select WooCommerce Slide.
- Search for and select the products to feature in the slider.
- Configure how the product details are displayed on each slide.
This is useful for featuring specific products on a homepage without maintaining a separate banner image for each one — the product image and details pull from WooCommerce automatically.
Linking Slides to Product Categories
For category-based promotional sliders, create one slide per category you want to feature. Set the slide URL to the category archive URL (yoursite.com/product-category/summer-sale). Use category banner images rather than individual product images for a broader promotional feel. Update slides when promotions change by editing the MetaSlider slider rather than editing the shop page.
Placing Sliders on Specific WooCommerce Pages
Use the MetaSlider shortcode on any page including WooCommerce template pages. For the shop archive, add the shortcode to the WooCommerce shop page content. For product category pages, use a page builder or a shortcode injection plugin to add the slider to the category description area.
To display a slider in the WooCommerce product page template (on individual product pages), add the shortcode via a hook in your child theme:
add_action( 'woocommerce_before_single_product', function() {
echo do_shortcode( '[metaslider id="YOUR_SLIDER_ID"]' );
} );
Performance on Shop Pages
Shop pages are already heavy with product images and WooCommerce scripts. Adding a slider compounds this. Limit your shop banner slider to two or three slides, use optimised WebP images, and use a caching plugin to serve the slider HTML from cache rather than re-rendering on every page load. Exclude the cart and checkout pages from the slider shortcode — these pages should be as fast as possible.
For custom WooCommerce slider implementations including dynamic product feeds, promotional countdown timers, and mobile-specific banner layouts, a WordPress developer can build a tailored solution for your store.