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
242
votes
17 answers

Yarn install command error No such file or directory: 'install'

I am installing sylius bundle and while install sylius I need to run yarn install So While i run command yarn install I get error: ERROR: [Errno 2] No such file or directory: 'install'
Ricky ponting
  • 2,657
  • 3
  • 10
  • 20
9
votes
1 answer

How to extend from Doctrine-Entity without Discriminator-Column

The challenge: I want to re-use an existing entity of a third party bundle with class-inheritance in that way, that still only one table remains and no extra stuff will be necessary. That means: no discriminator-column and no JOINs. Instead only…
itinance
  • 9,334
  • 5
  • 44
  • 82
7
votes
1 answer

How to finalize an order when implementing offsite payment gateway using Sylius 0.16 and Payum

I've been trying to wrap my head around on how to implement a classic offline payment gateway using Sylius (sylius/sylius-standard, v0.16). So far I got this in my bundle's build() method: public function build(ContainerBuilder $container) { /**…
Zwer
  • 141
  • 7
7
votes
1 answer

sylius or sonata or custom for subscription based application

We are going to build something like cratejoy.com, but don't want spend lot's of time building which is already builded before for developers. I was going through sonata and sylius, but not sure if we can build subscription based model with one of…
Basit
  • 13,920
  • 29
  • 88
  • 145
7
votes
5 answers

Why is sylius running so slow on local in dev?

I followed sylius' install instructions for composer and got my local copy working. The issue is when I go to local/app_dev.php it takes an extremely long time to load, 12-18 seconds. however the profiler is showing a much faster time... Also the…
Kirill Fuchs
  • 12,706
  • 3
  • 36
  • 70
6
votes
1 answer

Symfony 2 Form error "This form should not contain extra fields." when submitting a form

I am submitting a form and handling it in the Sylius ResourceController which submits the form and validates it. This is the form in situ:
crmpicco
  • 14,513
  • 22
  • 113
  • 191
6
votes
0 answers

Custom datalayer for sylius

We are currently trying to figure out the best possible solution to integrate sylius with our ERP system through a REST api. What would be the best approach for swapping out the ORM layer and implementing a cached API layer instead? Many actions…
Sam
  • 2,617
  • 2
  • 18
  • 24
6
votes
1 answer

Install Sylius - Symfony2 OpenSource Ecommerce

I am trying to install Sylius from here but i am unable to get it working. On running the command i get process timed out...well...due to the ever slow internet we use here. Could anyone please guide into installing sylius manually?? Like say…
J.Cage
  • 293
  • 1
  • 15
5
votes
2 answers

Sylius install crashes because "No identifier defined"

I'm trying to install Sylius 1.8 on ubuntu and I follow installation guide when I run composer install I get following error: Run composer recipes at any time to see the status of your Symfony recipes. Executing script cache:clear [KO] [KO] Script…
5
votes
1 answer

Sylius liip imagine: Unable to open image

I'm working on a Sylius 1.5 project, everything is working fine on my local environment however when deploying to my dev environment I'm getting an error on filtered images (using liip imagine filters). The environment consists of a docker…
J Dubuis
  • 442
  • 4
  • 11
5
votes
0 answers

How to add paypal pro (omnipay gateway) to sylius

I feel like I've read quite a few threads of people wanting help with adding a gateway, but I haven't seemed to find any solution that's been shared once the asker figured out the answer. I know there have been suggestions to look at the Payum…
sabliao
  • 137
  • 3
  • 10
5
votes
1 answer

Update Vendors in Sylius - Imagine Bundle Error (Symfony2)

I am trying to install Sylius - Open Source E-Commerce based on Symfony2 from this link The composer can successfully pull the project files from github but while updating vendors i get this error [UnexpectedValueException] …
J.Cage
  • 293
  • 1
  • 15
4
votes
4 answers

Problem with @template annotation after composer update

I updated Doctrine to newest version in my Sylius project. After update i am receiving following error. [Semantical Error] The annotation "@template" in class Doctrine\Common\Collections\ArrayCollection was never imported. Did you maybe forget to…
3y3skill3r
  • 889
  • 1
  • 8
  • 27
4
votes
0 answers

Sylius - integration of API-PLATFORM

I am beginner in sylius and i would like use api-platform for my shop instead of shop-api for sylius. Is there any simple way to do that ? This is my api-platform configuration in sylius api_platform: mapping: paths: -…
Daniel
  • 49
  • 4
4
votes
1 answer

How to change order status to paid after the offline payment was selected?

Using stable Sylius 1.2.0, how one can mark the order as paid after the offline payment method was selected? Tried using an after-callback of the sylius_order_payment state-machine`, but it doesn't seem to fire on any…
emix
  • 12,863
  • 8
  • 50
  • 72
1
2 3
44 45