/shopware-shortcode

Use Wordpress like Shortcodes in Shopware 6

Primary LanguagePHPMIT LicenseMIT

Shortcodes in Shopware 6

Use Wordpress like Shortcodes within the Text Editor in Shopware 6.

Bildschirmfoto 2021-04-05 um 10 35 50

Installation

composer require sas/shortcode

Configuration

After the plugin installation, you are now able to use these three shortcodes from within the Shopware Editor or CMS page as well.

  • {{ product=firstProductId,secondProductId }}
  • {{ category=firstCategoryId,secondCategoryId }}
  • {{ icon=ICONNAME }}, for example {{ icon=heart }}

After installation you also have a config option for the plugin to use custom theme icons, this can be enabled in the plugin configuration.

We're currently working on more Shortcodes, like for example to have the ability to create columns with Shortcodes.

Shortcode in texteditor

Storefront which shows the product from the Shortcode