Questions tagged [sylius]

For questions about programming with Sylius, an eCommerce framework on top of Symfony.

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

702 questions
428
votes
24 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 the command: yarn install I get the error: ERROR: [Errno 2] No such file or directory: 'install'
Ricky ponting
  • 4,537
  • 4
  • 13
  • 26
9
votes
0 answers

wkhtmltopdf: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to /tmp/runtime-root

I am using Docker image php:8.0-fpm-alpine3.14 which I have a Sylius project and I would like use wkhtmltopdf, so I added these lines in Dockerfile: RUN apk --update --no-cache add \ wkhtmltopdf \ libgcc \ libstdc++ \ musl \ …
Valentin Harrang
  • 1,081
  • 2
  • 17
  • 34
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
  • 11,711
  • 7
  • 58
  • 98
8
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
  • 13,446
  • 4
  • 42
  • 72
7
votes
2 answers

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
  • 492
  • 5
  • 13
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
  • 8
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
  • 16,316
  • 31
  • 93
  • 154
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
  • 16,605
  • 26
  • 134
  • 210
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,647
  • 2
  • 20
  • 25
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
  • 369
  • 2
  • 18
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
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,497
  • 8
  • 22
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
  • 147
  • 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
  • 369
  • 2
  • 18
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
  • 964
  • 1
  • 11
  • 35
1
2 3
46 47