jhae/shopware-6-twig-extensions

This package is abandoned and no longer maintained. No replacement package was suggested.

Shopware 6 Twig extensions

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

Type:shopware-platform-plugin

v1.0.0 2022-09-25 21:45 UTC

This package is auto-updated.

Last update: 2025-01-11 11:04:10 UTC


README

Version License Tests Coverage

Warning

This repository is no longer maintained and was archived on January 11, 2025.

The package jhae/shopware-6-twig-extensions has been marked as abandoned. There is currently no replacement.

Shopware 6 Twig Extensions

This Shopware 6 plugin adds more Twig features.

Installation

  1. Navigate to the root folder of your Shopware installation.
  2. Download the plugin.
    composer require jhae/shopware-6-twig-extensions
  3. Refresh the Shopware plugin list.
    ./bin/console plugin:refresh
  4. Install and activate the plugin.
    ./bin/console plugin:install --activate JhaeTwigExtensions

You are ready to use the Twig extensions in your templates.

Twig functions

sw_cms_page

This function allows you to include any CMS page you created in "Content / Shopping Experiences".

Usage

{{ sw_cms_page(id) }}

Parameters