Linktype

The parameter controls the redirection to the shop when the user clicks on a product layout.

linktype: string
 ProductSlider({
    apiKey: 'SNGbv8bSovxeDDDAXMS4Qm-ncTd8LOfORRVe0pdPkTk6o-jbu9',
    backgroundURL: 'https://your-domain.com/url-address-of-the-image.jpg',
    sliderType: 1,
    sliderPerView: {
      1200: 5,
      992: 3,
      768: 2,
      320: 1.5
    },
    enablePreview: true,
    enableAutoHover: true,
    rootID: 'printlean',
    linktype: 'new'
  });

Linktype: 'new'

When a user clicks on a product, a new window will open with two tabs in the browser - one for your site and one for the shop.

linktype: 'new'

Linktype: 'frame'

When a user clicks on a product, a frame pops up on the page. The user remains on your photostock site but can visit the shop via an additional window, which can be hidden by clicking on the cancel button in the shape of a cross.

linktype: 'frame'

Linktype: 'same'

When a user clicks on a product, they will be redirected to Printlean in the same window, with the user's browser displaying a single tab for the shop.

linktype: 'same'

Last updated