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
-1
votes
2 answers

How to customize an entity property in Sylius?

I'm working on a Sylius application and want to modify a property of an entity. To be more concrete: What I want to achieve, is to make the ProductVariant.onHand (or actually the corresponding column in the database) nullable. The documentation of…
automatix
  • 14,018
  • 26
  • 105
  • 230
-1
votes
1 answer

Create custom action in ResourceController in Sylius

I have a custom controller extending ResourceController and I am trying to create a custom action public function redeemAction(Request $request): Response namespace App\Controller; use…
skirato
  • 763
  • 6
  • 26
-1
votes
1 answer

Sylius project and synfony server pkcs12 error

When i try symfony server:start i have pkcs12: decryption password incorrect I apreciate some thougths, im am completely stuck on this. I'm using ubuntu 18.04, php 7.2 , php-fpm. Thanks.
Leonel Matias Domingos
  • 1,922
  • 5
  • 29
  • 53
-1
votes
1 answer

Failed to connect to localhost port 9200

when i call curl http://localhost:9200 outside the containers it works fine, however when I call it inside the php container, I have an error: curl: (7) Failed to connect to localhost port 9200: Connection refused docker-compose.yml: version:…
Ayman
  • 3
  • 3
-1
votes
1 answer

Sylius installation error step 3 of 4 while creating administrator

while installing Sylius I get an error. Do you have any solutions? Thank you!
Bathory
  • 13
  • 5
-1
votes
1 answer

How to customize Emails from shop-api-plugin

I'm triying to override the emails templates from shop-api-plugin in a Symfony/Sylius app. I've been able to customize the emails from the shopBundle, but not from the api. Need help please :) If you need more details please let me know.
-1
votes
1 answer

How to add a flash message for new customized action type clone

By adding a customized action that clones an object, i want to add a flash message after clone is done.
Rami M
  • 1
  • 2
-1
votes
1 answer

Duplicate name "app" passed to addEntry(): entries must be unique

Hello I try to install sylius BootstrapTheme for my project and I have little problem when i try to install this. If need more code or code of other files for find the problem talk me /themes/BootstrapTheme/webpack.config.js const Encore =…
Den Kot
  • 41
  • 3
  • 12
-1
votes
1 answer

Twig_Environment::addExtension() error after Symfony / Sylius Update

after update from sylius 1.0.1 to 1.2.9 and composer update i get the following error: FatalThrowableError HTTP 500 Internal Server Error Type error: Argument 1 passed to Twig_Environment::addExtension() must implement interface…
M. F
  • 77
  • 9
-1
votes
1 answer

How to override any fields in the model in Symfony

Currently, I'm working on Sylius framework. I need to override a few fields from Base models. It can be like changing field type, or changing field length, add null/not null/unique condition etc. How can we override this without touching core files…
stefun
  • 1,261
  • 3
  • 24
  • 54
-1
votes
1 answer

Make Sylius catalog only

Who has experience Sylius before? Is possible to close front end purchase module to make Sylius become like catalog only? That mean user only can preview product's detail but unable to make purchase. Sorry for my English.
Job5505
  • 21
  • 6
-1
votes
1 answer

Customer Image Profile

Is there an easy way to handle user profile image? I tried with VichUploaderBundle without success.
-1
votes
1 answer

Sylius/Symfony3 You have requested a non-existent service

Anyone have any expertise trouble-shooting Symfony 3 and Sylius? I created a new entity, I followed the instructions step by step from the documentation here When I run: php bin/console doctrine:schema:update --force it successfully creates a…
-1
votes
1 answer

Customizing models in Sylius. Doctrine Error: Property "translations" in "AppBundle\Entity\Product" was already declared

I'm trying to customize the Product Model in Sylius based on this documentation page: Sylius Customization Guide: Customizing Models. In AppBundle I created my own class Product: namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use…
flame79
  • 67
  • 4
-1
votes
1 answer

How use Facebook and google+ login in sylius alpha version? can anyone provide simple guide for it?

Can anyone provide me a simplest guide for Facebook and google+ Login or connect for Sylius base project? Thanks
1 2 3
46
47