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
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
  • 793
  • 1
  • 9
  • 24
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,203
  • 3
  • 15
  • 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,215
  • 1
  • 11
  • 26
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
  • 1,132
  • 15
  • 21
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
  • 3,083
  • 2
  • 26
  • 40
2
votes
0 answers

Trouble Configuring Amazon S3 Integration for Symfony-Sylius App: Images Upload to Default Storage

I've been trying to set up Amazon S3 integration with my Symfony-Sylius app, but I'm facing an issue where the app continues to upload images to the default storage instead of Amazon S3. Upon checking the request coming from the images, I noticed…
amd
  • 342
  • 1
  • 2
  • 15
2
votes
0 answers

Sylius, specific product price per customer group

I would need to define specific prices for each customer group. But not per channel. How can I do this from the Back-Office? Thanks.
n44s
  • 443
  • 4
  • 18
2
votes
1 answer

How to customize sylius_taxon_image_widget without modifying the vendor?

I need change imagine_filter('sylius_small') to imagine_filter('sylius_admin_product_original') file path => Sylius\vendor\sylius\sylius\src\Sylius\Bundle\UiBundle\Resources\views\Form\imagesTheme.html.twig {% block sylius_taxon_image_widget %} …
2
votes
1 answer

How to serve static files with Caddy next to PHP Script execution? (Symfony)

I have a docker-compose based Server setup running PHP, Postgres and Caddy as Webserver/Reverse-Proxy with Auto-SSL that serves a PHP-Application (Framework Symfony 3/Sylius 1.5) with php5-fpm. It works very well so far, but not with any static…
delete
  • 18,144
  • 15
  • 48
  • 79
2
votes
1 answer

Sylius Grid, how to sort by property that does not exist in entity

I have a grid that I created using Sylius that works perfectly. One of the fields in my grid refers to the count of a collection property (Referees). I am able to show the count of this collection (Referee Count), but I am unable to sort on on it,…
Matthew Dejager
  • 309
  • 4
  • 17
2
votes
0 answers

SyliusCmsPlugin with CKFinder

did anybody successfully integrated CKFinder to CMS plugin ? I used ckfinder/ckfinder-symfony-bundle, got it installed, downloaded, assets installed, added to default bitbag_sylius_cms_plugin configuration fos_ck_editor: default_config:…
mysiar
  • 430
  • 1
  • 5
  • 14
2
votes
0 answers

Expected to find class ... in file ... while importing services from resource, but it was not found

So I currently try to add a CustomerPorcessor with the SyliusandFriendsImportExport-Plugin, but when I try to start my project over docker I got this error: Expected to find class "App\Processor\CustomerProcessor" in file…
maz
  • 31
  • 4
2
votes
0 answers

Sylius 1.5: Change order status after successful payment

I want to use paypal payment method in my sylius shop. I configured it as described in sylius documentation https://docs.sylius.com/en/1.5/cookbook/payments/paypal.html. After payment I am redirected back to the site with alert 'Payment is being…
2
votes
1 answer

ERROR: for nodejs unauthorized: access to the requested resource is not authorized

I want to use sylius with docker I followed the same steps of official website; when I type the command "docker-compose pull --ignore-pull-failures || true", a have this error : Pulling mysql ... done Pulling php ... error Pulling nodejs ...…
hichamcode
  • 21
  • 4
2
votes
2 answers

Unable to use the sylius services

Service "sylius.repository.product" not found: even though it exists in the app's container, the container inside "App\Controller\Shop\SubscribeBoxController" is a smaller service locator that only knows about the "doctrine", "form.factory",…
Matheo
  • 21
  • 2