Download the PHP package setono/sylius-toggle-vat-plugin without Composer
On this page you can find all versions of the php package setono/sylius-toggle-vat-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-toggle-vat-plugin
More information about setono/sylius-toggle-vat-plugin
Files in setono/sylius-toggle-vat-plugin
Package sylius-toggle-vat-plugin
Short Description Let customers decide to show prices with or without VAT in your Sylius store
License MIT
Informations about the package sylius-toggle-vat-plugin
Sylius Toggle VAT Plugin
Let customers decide to show prices with or without VAT in your Sylius store.
Installation
Import routing
or if your app doesn't use locales:
Default configuration
Insert VAT toggler
By default, the VAT toggler is injected using the Sylius UI event system and the event sylius.shop.layout.topbar
,
however, you can inject it yourself calling the Twig function sstv_vat_toggler()
anywhere in your templates.
VAT context
The plugin uses the Setono\SyliusToggleVatPlugin\Context\VatContextInterface
to deduce whether to show prices
with our without VAT. You can create your own VAT context by implementing that interface.
All versions of sylius-toggle-vat-plugin with dependencies
setono/composite-compiler-pass Version ^1.2
sylius/core Version ^1.0
sylius/core-bundle Version ^1.0
sylius/taxation Version ^1.0
symfony/config Version ^5.4 || ^6.4 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.4 || ^7.0
symfony/http-foundation Version ^5.4 || ^6.4 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.4 || ^7.0
symfony/routing Version ^5.4 || ^6.4 || ^7.0
twig/twig Version ^2.0 || ^3.0
webmozart/assert Version ^1.11