Questions tagged [sylius-1.3]

6 questions
1
vote
1 answer

Sylius 1.3 - class "App\Entity\X" sub class of "Sylius\Component\Addressing\Model\X" is not a valid entity or mapped super class

Contents of /config/packages/_sylius.yaml imports: - { resource: "@SyliusCoreBundle/Resources/config/app/config.yml" } - { resource: "@SyliusAdminBundle/Resources/config/app/config.yml" } - { resource:…
Balázs O.
  • 13
  • 4
0
votes
1 answer

Sylius add new zone scope

I'm using the framework Sylius v1.4.7, I want to add a new scope in the choice list in zone form but I don't know how I can do that. Could you help me please ? I override this class ZoneChoiceType but in vain, I still have the default values in…
Victor
  • 17
  • 7
0
votes
1 answer

Sylius - return validation messages on product save

when I use the sylius.factory.product here https://docs.sylius.com/en/1.6/book/products/products.html Adding Product /** @var ProductFactoryInterface $productFactory **/ $productFactory = $this->get('sylius.factory.product'); /** @var…
aa-Ahmed-aa
  • 323
  • 4
  • 13
0
votes
1 answer

Semantical ErrorThe annotation "@MappedSuperclass" in class App\Entity\User\ AdminUser was never imported

Hello i try to install RbacPlugin for the sylius i follow step per step but i have error. i have this error [Semantical Error] The annotation "@MappedSuperclass" in class App\Entity\User\ AdminUser was never imported. Did you maybe forget to add…
Den Kot
  • 41
  • 2
  • 10
0
votes
1 answer

Unable to install Sylius 1.3 in prod env, nelmio_alice error

Unable to install Sylius in prod env(Edited $APP_ENV = prod in .env file), getting this error when executing : sudo php bin/console sylius:install But I am able to install in dev environment, please…
-2
votes
2 answers

Sylius customizing model dose not working

It's my class file Country.php