Category: sylius

Symfony form builder: How to iterate/render dynamic amount of text fields in twig? (Sylius – exta checkout step)

I added an extra checkout step to the Sylius checkout procedure and I am trying to add 1 text field per instance of an ordered item. Thus having put 3x itemA and 1x itemB in cart should spawn 4 text…

Sylius problems with custom php and css [closed]

So – I m making this file: / public/assets/admin/css/custom.css #sidebar { background-color: #1abb9c; } And then i dont know what to do cause: {# src/Resources/views/Admin/_stylesheets.html.twig #} {% include ‘SyliusUiBundle::_stylesheets.html.twig’ with {‘path’: ‘assets/admin/css/custom.css’} %} This #src… is it a route for…

Remove US channel in sylius fixtures

Hello I am trying to setup my development environment for sylius 1.6.4 and added some custom fixtures in config/packages/dev/_sylius_fixtures.yaml : sylius_fixtures: suites: default: fixtures: locale: options: locales: [‘fr_FR’] currency: options: currencies: [‘EUR’] channel: options: custom: fr_web_store: # creating new channel…