webidea / magento2-module-inline-link-widget
Magento 2 Widget for inline links without surrounding HTML
Installs: 288
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/module-catalog: *
This package is auto-updated.
Last update: 2021-06-25 16:49:14 UTC
README
Description
This module delivers three widgets to output links without surrounding HTML.
So you can use these generated links in any context you want, without any design break.
Usage
Button "Insert widget"
- use the "Insert widget"-button to add a new widget into your editor
- select one of the widgets which is suffixed with
(inline-link)
- select your entity (product, category, cms-page)
- that's it.
Editor (self-written)
Use one of the following code snippet in your editor
Product
{{widget type="Webidea24\InlineLinkWidget\Block\Link\Product" id_path="product/XXXX"}}
replace XXXX
with the product-id
Category
{{widget type="Webidea24\InlineLinkWidget\Block\Link\Category" id_path="category/XXXX"}}
replace XXXX
with the category-id