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
3
votes
0 answers

Symfony ArrayCollection of Entity Objects stored Session

I have this form which returns ArrayCollection $builder ->add('secondSubcategory', 'entity', array( 'required' => false, 'class' => 'AppBundle\Entity\SecondSubcategory', 'choice_label' =>…
andreop
  • 51
  • 7
3
votes
1 answer

Sylius: adding resource with translateable content

I am building an app based on Sylius standard edition. With the ResourceBundle i handled to integrate my own entities and the corresponding relations. This new resources should be related later to the products entity, but first i want to get it…
BNE
  • 55
  • 6
3
votes
2 answers

Sylius : How to filter products by attributes in Sylius?

Someone can tell me how to filter products by attributes in Sylius. For example I have an attribute color. And I want to get all product they are white. Thank you
binbin
  • 123
  • 1
  • 9
3
votes
1 answer

replace the authentication layer and user entity in sylius

I have created a symfony2 project and custom Authentication Provider (http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html) is used. my new task is to create an E-commerce application in sylius which should work…
Rajeev J S
  • 31
  • 3
3
votes
3 answers

Cannot load custom bundle in Sylius?

I want to create my own bundles in Sylius. I created in the directory src and named App like that src Sylius ....... App Bundle ShopBundle AppShopBundle.php In this file, I wrote very…
binbin
  • 123
  • 1
  • 9
3
votes
2 answers

Sylius Product Bundle configuration

I'm trying to integrate Sylius Product Bundle into my existing Symfony project. It already has doctrine configured. This is the error I am getting: [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] The child node…
softie
  • 237
  • 1
  • 2
  • 17
3
votes
1 answer

Sylius Not Remembering Cart After Adding an Item

I'm using the Sylius Cart and Order Bundles and trying to add an item to the cart and show a summary of the items in the cart. The problem I'm having is Symfony/Sylius forgets that it has made a cart and added items to it. If I click a link going…
Kogenta
  • 61
  • 4
3
votes
2 answers

Sylius installation doesn't work

I have a problem with the installation of Sylius. PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in…
MeTaLiKiD
  • 95
  • 2
  • 10
3
votes
1 answer

Symfony 2/Sylius - Bundle loaded in AppKernel but can't load resource

I've generated a bundle (@ShopfishApiBundle) using generate:bundle like I have many times. It has automatically registered the bundle in theAppKernel and it added the loading of the bundle's routing.yml to the app/Resource/config/routing.yml as…
Mirage
  • 957
  • 1
  • 6
  • 24
3
votes
1 answer

Sylius Product Bundle as dependency

I have an existing Symfony2 project which I'm attempting to install and use certain bundles from the Sylius project as dependencies. Here is my problem, I've added the SyliusProductBundle and all of its dependencies; however, when I attempt to…
jspizziri
  • 785
  • 8
  • 21
3
votes
2 answers

Sylius - How to define product with options that have impact on price?

In Sylius I can create variant of of a product, for instance 3 sizes of a t-shit, each size have different price. This is a nice solution if I have a product with one thing that has an impact on a price. What about situation, where I have a Tshirt…
Tom
  • 1,075
  • 1
  • 13
  • 35
3
votes
2 answers

How to override SyliusCoreBundle Model User

I try to add a new field "phone" in model User (SyliusCoreBundle/Model/User). Avoiding to touch SyliusCoreBundle, I create a new bundle 'ShopBundle' which is beside of the others sylius bundles to override base user class :…
孙悟空
  • 1,057
  • 10
  • 22
3
votes
2 answers

Install SyliusWebBundle on existing symfony 2 project

I already have a complete symfony 2.3 project and want to add cart and sale system on it with Sylius bundles. Sylius Cart Bundle and Sale Bundle use SyliusWebBundle and SyliusMoneyBundle. Sylius documents explain about installing a new Sylius…
Erfan
  • 892
  • 9
  • 19
3
votes
1 answer

How to integrate PayPal with Sylius

How would I go about enabling PayPal as a payment method in Sylius? I'm kinda confused why there is both a SyliusPaymentsBundle and a SyliusOmnipayBundle. Should this work with only a small amount of configuration changing settings in the backend or…
Scotty Waggoner
  • 2,167
  • 1
  • 25
  • 35
2
votes
1 answer

Sylius: "cache:clear" timeout

I've developed a sylius based site on a local server. I want to deploy it in production on my OVH server. In the Sylius Sylius Cookbook, I did not find any particular procedure. So I followed the normal procedure. Upload my code to the production…
lcgd
  • 35
  • 4