Documentation
Back to website >

Anywhere Sliders Documentation

Live DEMO - see how the Anywhere Sliders would look like in your public store.

Admin DEMO - see the plugin administration.

Note: We have dropped the support for 2D and 3D sliders since the release of nopCommerce 4.0. 

Working with Nop Anywhere Sliders information. General information on how to setup your banners and sliders.

Creating a slider

You can create as many sliders as you want and add each to a place where appropriate. You can have more than one slider on a page and each one of them will work independant from the other. Sliders can be used to change images that are used as links meaning that when clicked will redirect to a given url(page) or just use the plugin in order to add banners that are displayed on your website.

In order to create a new slider go to Plugins -> Nop Anywhere Sliders -> Manage Sliders. Click on the Add new slider button

When you click the "Add new slider" button the following page will be opened. You can choose from three main slider types - a Nivo slider, a normal carousel 2D slider or a new 3D carousel slider.

 

Nivo Slider General Settings

  1. Effect - From here you choose what effect your Nivo Slider will have.
  2. Theme class name - The name of the theme class that is added to the slider. For example if you set it to light then an additional class named theme-light will be added to the slider.

 

Nivo Slider Advanced Settings

  1. Auto slide interval (milliseconds) - The interval in milliseconds before an image is changed with another.
  2. Animation Speed (milliseconds) - From here you can choose the slide transition speed.
  3. Enable direction navigation - Enable or disable Next and Prev navigation.
  4. Enable control navigation - Enable or disable control navigation (e.g 1,2,3...)
  5. Enable using thumbnails for control navigation - Enable or disable using thumbnails for control navigation.
  6. Random start - If checked the slider will start sliding from a random picture.
  7. Use Pictures as Links - If checked the used pictures will act as links. They will redirect the user to a different page when clicked.
  8. Pause on hover - If checked the slider will stop on mouse hover.
  9. Show Caption - If checked the caption text for each image will be shown. You can add caption for your images from the Pictures tab by editing the picture and adding your content in the Title field.
  10. Slices (for slice animations) - Number of slices displayed in the slice animations. Increasing the number of slices makes the transition between pictures smoother.
  11. BoxCols (for box animations) -  Number of box columns in the box animations. Increasing the number of box columns makes the transition between pictures smoother.
  12. BoxRows (for box animations) - Number of box rows in the box animations. Increasing the number of box rows makes the transition between pictures smoother.

 

Adding pictures of a slider

Once you have a new slider created you can upload images that will be used in the slider.

To add a picture to the slider with additional data that will be used by the slider as url, display text, alternate text, click the Add a new slider image button and a new page with a detail information for the slider image will be opened.

  1. Picture - From here you can choose a picture from your computer and upload it.
  2. Visible - Specify whether this image will be visible.
  3. Display Order - The display order of the image. 1 represents the first slider image.
  4. Title - The text which will be shown when the mouse hovers the image.
  5. Url - The URL to which the image will redirect.
  6. Alt - The image alt attribute ( alternate text )

Add the slider to a widget zone

From the Widget Zones you could choose the locations in which you want your slider to appear in your public store.

If you want to add the slider to widget zones click the Add New Record button and from the drop-down select your desired widget zone.

Optionally specify a display order.

Find more information here.

Slider Scheduling

From the Scheduling tab you could choose how long your slider will be active, and also you could choose a time pattern to repeat and activate your slider.

Find more information here.

Note: The scheduling functionality in our products uses the Default Store Time Zone rather than UTC starting from nopCommerce version 4.0.  You will need to change your schedules if they were set according to the UTC time zone. You can find and change the Default Store Time Zone setting from Administration -> Configuration -> Settings -> Customer Settings

SLIDER Conditions

In the Conditions tab you can specify conditions for the current slider. If the conditions are met, the slider will be shown.

Find more information here.

Add Slider To a Certain Topic Page

You can add your slider to a certain topic page. This action will require a bit of code customization and adding your own widget zone. Follow the example below:

In this example we will be adding a slider only to the About Us topic page:

  1. Edit the ~/Plugins/SevenSpikes.Nop.Plugins.AnywhereSliders/SupportedWidgetZone.xml or ~/Plugins/SevenSpikes.Nop.Plugins.AnywhereSliders/Themes/YourTheme/AdditionalSupportedWidgetZones.xml if you are using on of our themes that has that file and add the following line:
      <WidgetZone>your_widget_zone_name</WidgetZone>

    replace your_widget_zone_name with your widget zone name.

  2. Edit the ~/Views/Topic/TopicDetails.cshtml or the ~/Themes/YourTheme/Views/Topic/TopicDetails.cshtml if you are using a custom theme and your theme has that file, and add the following lines of code wherever you want your slider to show: 

    @if(Model.SystemName.Equals("AboutUs"))
    {
         @await Component.InvokeAsync("Widget", new { widgetZone = "your_widget_zone_name" })

    }

    replace your_widget_zone_name with your widget zone name.

  3. Choose your_widget_zone_name in the Widget tab in the administration of your slider.

Now your slider will be shown only on the About us topic page.