pt1602 / getproductbyid
PT1602 getProductByID(id, context)
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:shopware-platform-plugin
This package is auto-updated.
Last update: 2025-03-11 16:49:22 UTC
README
Twig getProductByID-Function for Shopware 6
A simple Shopware 6 plugin which adds a twig function to get the all about information about the product when you only got the id.
This plugin is only a demo for quick tests.
Installation
Git
Clone this repository into custom/plugins of your Shopware 6 installation.
git clone https://github.com/pt1602/ShopwareGetProductById.git
Composer
composer require pt1602/getproductbyid
Example
{{ getProductByID('86da6b3c52064b928ee19c2cab2698be', context).name|raw }}