Questions tagged [sylius]

Sylius is a open sourced PHP ecommerce solution based on Symfony and developed by community and the Lakion company.

Sylius is an Open Source E-Commerce framework for PHP, based on the Symfony framework.

665 questions
4
votes
2 answers

How to Implement Klarna payment gateway with Sylius?

I have been trying to add klarna checkout gateway without any luck... I don't see Klarna Checkout in the Admin UI! No idea what I'm missing here but the way I understood it that all I have to do is install the gateway payment through composer then…
user3808955
  • 157
  • 1
  • 8
4
votes
0 answers

Sylius PostgreSql migrations

I want to develop my project with Symfony 3 + PostgreSql + Sylius. But on installation stage I've got the error: Migration can only be executed safely on 'mysql' My questions is has someone the PostgreSql installation database? Or migration would…
Urmat Zhenaliev
  • 1,268
  • 4
  • 17
4
votes
2 answers

How to add CSS files on a Sylius theme?

I've a custom theme under app/theme/AcmeTheme. I have the theme working and I can define my own templates under views or override template for other Bundles. The problem is that I can not figure out how to add a custom CSS file inside my theme. So…
Pablo
  • 93
  • 6
4
votes
1 answer

Sylius: error after composer update on sylius 0.17

i have installed Sylius as following: $ composer create-project sylius/sylius $ cd sylius $ php app/console sylius:install Installed versions: Symfony 2.7.7 and Sylius 0.17 All things were working fine until i did composer update. Here was…
ulzii
  • 53
  • 4
4
votes
2 answers

Sylius Resource 403 access denied

I've created a new bundle for adding some delivery periods for certain zones. sylius_resource: resources: shop.deliveryperiods: classes: model: Shop\Bundle\DeliveryBundle\Entity\DeliveryPeriod form: default:…
spyral
  • 93
  • 4
4
votes
1 answer

How do I use the Sylius currency importer for my configured currencies?

I have a number of currencies setup with my Sylius install (v0.14), and I have added an api key within my parameters.yml for open exchange rates. When running the console command: ./app/console sylius:currency:import openexchangerates I see that…
Carl Owens
  • 1,262
  • 7
  • 14
4
votes
2 answers

symfony 2 sylius bundle lost (TranslationBundle )

I try to install Sylius ResourceBundle on my project but when i run my symfony project, i get this error : Class 'Sylius\Bundle\TranslationBundle\DependencyInjection\AbstractTranslationExtension' not found I can't find Sylius TranslationBundle…
Amir
  • 43
  • 5
4
votes
1 answer

Proper dev. approach for overriding Twig templates

I recently decided to take a look at Sylius, since I love the idea of a developer-friendly Symfony2 project. I tried to look through the various documentation articles, but I didn't seem to be able to find the answer for a very fundamental question…
Redoubt
  • 41
  • 1
4
votes
3 answers

symfony2 factory-service in yaml

Looking at the code of the Sylius Bundle for Symfony I noticed the Resource Bundle has an interesting way of defining resource controllers as services. Here is the cart item controller service configuration in XML
smarques
  • 644
  • 5
  • 19
4
votes
1 answer

How to create a new model with Sylius via SyliusResourceBundle

I found and successfully used documentation on how to override an existing model in Sylius, but I haven't been able to create a completely new one making use of the SyliusResourceBundle. Im guessing it's easy if you already know Symfony2? Im still…
markjwill
  • 194
  • 5
  • 15
4
votes
2 answers

How to update sylius/standard

I have installed sylius with composer create-project -s dev sylius/sylius cd sylius app/console sylius:install I have added my own Bundle which extends SyliusWebBundle and some other things. Of course I have change parameters.yml etc. How can I…
Tom
  • 1,075
  • 1
  • 13
  • 35
4
votes
1 answer

"Submitted form is invalid" when adding a product to cart : Sylius Cart Bundle

I apologize if this seems to be a very naive question..but i've just learnt Symfony2 and trying to learn the workings of Sylius. When I add a product to the cart it seems to always return the error : Submitted form is invalid I have searched the…
J.Cage
  • 293
  • 1
  • 15
4
votes
1 answer

Install Fixtures in Sylius - Symfony2

After having successfully installed and updated all vendors in my project folder for Sylius i tried running this code : app/console sylius:install --fixtures I get this error : PHP Fatal error: Class 'ResourceBundle' not found in…
J.Cage
  • 293
  • 1
  • 15
3
votes
2 answers

Resolving Controller Services in Sylius/Symfony

Hoes does Symfony resolve the Sylius service sylius.controller.shop_user service to the controller class file Sylius\Bundle\UserBundle\Controller\UserController. My understanding is that sylius.controller.shop_user is a service, and that in Symfony…
Alan Storm
  • 157,413
  • 86
  • 367
  • 554
3
votes
1 answer

Sylius API : Carts conflict on login

I'm using Sylius (Symfony SyliusBundle) as backend with a mobile app and i'm facing problem with carts conflict. I'm using lexikJWT token with default sylius_shop_provider to authenticate my users. Authentication works fine, i can login and retrieve…
user2733521
  • 419
  • 5
  • 20
1
2
3
44 45