Getting Started
WooCommerce Product Slider/Carousel is an best product slider to slide your WooCommerce Product, Best Selling Product and Featured Product. You can easily display this product slider in your theme using shortcode. You can short product by category by adding category ID in the shortcode as a shortcode parameter.
Plugin add a sub tab under “Products –> Product Slider – How It Works” for more details.
How to Display and Shortcode
Display a Woo Product Slider and Carousel with category is very simple. Just add the following shortcode on any page to display Product Slider and Carousel with category.
[wcpscwc_pdt_slider]
[wcpscwc_pdt_slider type="bestselling"]
[wcpscwc_pdt_slider type="featured"]
You can also use template code to display Featured Post Creative.
<?php echo do_shortcode('[wcpscwc_pdt_slider]'); ?>
<?php echo do_shortcode('[wcpscwc_pdt_slider type="bestselling"]'); ?>
<?php echo do_shortcode('[wcpscwc_pdt_slider type="featured"]'); ?>
Product slider shortcode parameters
[wcpscwc_pdt_slider]
-
LIMIT:
[wcpscwc_pdt_slider limit="5"]
Display latest 5 Product on your website. Display all Product to set limit=”-1″. -
TYPE:
[wcpscwc_pdt_slider type=""]
Enter product type ‘products’, ‘featured’, and ‘bestselling’. -
DISPLAY CATEGORY WISE
[wcpscwc_pdt_slider cats="56,78,15"]
Display products category wise. You can enter multiple category id with comma seperated. -
DESIGN:
[wcpscwc_pdt_slider design="design-1"]
You can put this shortcode in your page. -
TAX:
[wcpscwc_pdt_slider tax="product_cat"]
You can display product by category of product. -
SLIDES COLUMN:
[wcpscwc_pdt_slider slide_to_show="3"]
Display number of Product at a time in slider just like as a grid. -
SLIDES SCROLL:
[wcpscwc_pdt_slider slide_to_scroll="1"]
When slider scroll, determine number of Product to slide at a time. -
AUTOPLAY AND AUTOPLAY SPEED:
[wcpscwc_pdt_slider autoplay="true" autoplay_speed="3000"]
Enable Slider autoplay and Set delay between two slides. -
SLIDER SPEED:
[wcpscwc_pdt_slider speed="3000"]
Set slider slide speed. -
DOTS AND ARROWS:
[wcpscwc_pdt_slider dots="true" arrows="true"]
Hide/Show pagination and arrows. By default value is “true”. Values are true OR false -
LOOP:
[wcpscwc_pdt_slider loop="true"]
Control the infinite scroll of the slider. value that you can use are loop=”true” OR loop=”false” -
ORDER:
[wcpscwc_pdt_slider order="DESC"]
Product order ie DESC or ASC. -
ORDER BY:
[wcpscwc_pdt_slider orderby="date"]
Sort retrieved posts by parameter. Defaults to ‘date (post_date)’. One or more options can be passed. ‘none’ , ID’ , ‘author’ , ‘title’ , ‘name’ , ‘rand’ , ‘date’.
Note: orderby parameter will not work with Best Selling Product in slider view. -
EXTRA CLASS:
[wcpscwc_pdt_slider extra_class=""]
You can add extra class here.
Note: Extra class added as parent so using extra class you customize your design. -
RTL:
[wcpscwc_pdt_slider rtl=""]
Enable RTL or not. Values are “true” OR “false”. -
SLIDER CLS:
[wcpscwc_pdt_slider slider_cls="products"]
you can add slider class.