Shortcode

You can insert product slider in any cms page or static block

{{block type="productslider/product_list_new" template="nwdthemes/productslider/productslider.phtml" }}

This code insert new products slider in cms block. Slider will use default settings from configuration.

Possible parameters:

  • type – define slider type
    • productslider/product_list_new – new products
    • productslider/product_list_bestsellers – bestsellers
    • productslider/product_list_category – category products
    • productslider/product_list_mostviewed – most viewed products
    • productslider/product_list_recent – recently added products
  • category_id – id of category to load products
  • count – how many products load in slider
  • title – slider block title
  • show_title – show / hide slider block title

    Possible values:

    • true
    • false
  • columns – how many products visible
  • random – apply random sorting. Used for New, Category and Recent slider

    Possible values:

    • 1
    • 0
  • slider_autoscroll – Change to any integer ( for example 5000 to play every 5 seconds).
    Set to 0 to disable autoscroll
  • slider_scroll_items – Slide per item or per page

    Possible values:

    • item
    • page
  • slider_rewind – Slide to first item or stop at last item

    Possible values:

    • true
    • false
  • slider_slide_speed – Slide speed in milliseconds
  • slider_stop_on_hover – Stop autoplay on mouse hover

    Possible values:

    • true
    • false
  • slider_navigation – Display “next” and “prev” buttons.

    Possible values:

    • true
    • false
  • slider_pagination – Show pagination

    Possible values:

    • true
    • false
  • slider_pagination_numbers – Show numbers inside pagination buttons

    Possible values:

    • true
    • false
  • slider_rtl – RTL mode

    Possible values:

    • true
    • false
  • slide_item_img_width – Adjust image width
  • slide_item_name – Show/hide name

    Possible values:

    • true
    • false
  • slide_item_price – Show/hide price

    Possible values:

    • true
    • false
  • slide_item_rating – Show/hide rating

    Possible values:

    • true
    • false
  • slide_item_cart – Show/hide Add to cart button

    Possible values:

    • true
    • false
  • slide_item_wishlist – Show/hide wishlist link

    Possible values:

    • true
    • false
  • slide_item_compare – Show/hide Compare link

    Possible values:

    • true
    • false