Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the image upload area on the left-hand side you can insert an image using the Magento 2 media explorer. [2] If you already have an image, you can remove it using the “bin” icon. There is also a possibility to add video - more 2.16. Video Teasers. If you have more than one image teaser (added using the the “+” icon) you can move the given image using the “arrow up” and “arrow down” icons. Also you can change the existing image by clicking “change”.

  2. In the CONTENT ALIGN area you are able to control the text appearance on the image teaser. Just click on the desired position field where the text should be shown.

  3. Enter the SLOGAN text which will be the most prominent text element on the image teaser (depending on the styling). Additionally it is possible to insert dynamic content in this text area and any other textfield component, e.g. HEADLINE and DESCRIPTION using Content Constructor Directives. By adding directives it will display your products’ price or a products’ discount percentage to your desired text field.

    1. Fetching a products’ price can be done with this directive:
      {{price sku=”your_product_sku” withCurrency=”true”}}
      When choosing “false” as your parameter there is no currency sign displayed.

    2. If you wish to display a discount percentage of a certain product use following directive:
      {{discountPercentage sku=”your_product_sku”}}

    3. However, only an integer value will be shown.

  4. Enter the DESCRIPTION text which will be the text element located underneath the slogan on the image teaser (depending on the styling). Also, Constructor Directives can be used here.

  5. Enter a BUTTON LABEL text in case you want to include a button on the image teaser.

  6. Enter a URL in the URL input in case you want to add a link to the button (also the Magento 2 widget types CMS Page Link, Catalog Category Link, Category Product Link, File URL are supported).

...

When the settings have been made, click SAVE.

 

 

Image RemovedImage Added


...

[1] The breakpoints for the devices are: mobile up to 767px, tablet 768 - 1023px, desktop 1024px

...