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
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
  • 59
  • 6
3
votes
2 answers

Resolving Controller Services in Sylius/Symfony

Hoes does Symfony resolve the Sylius service sylius.controller.shop_user service to the controller class file Sylius\Bundle\UserBundle\Controller\UserController. My understanding is that sylius.controller.shop_user is a service, and that in Symfony…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
3
votes
1 answer

Sylius API : Carts conflict on login

I'm using Sylius (Symfony SyliusBundle) as backend with a mobile app and i'm facing problem with carts conflict. I'm using lexikJWT token with default sylius_shop_provider to authenticate my users. Authentication works fine, i can login and retrieve…
user2733521
  • 439
  • 5
  • 22
3
votes
2 answers

Class does not implement "Symfony\Component\Form\FormTypeInterface" in Sylius

We are trying to extend from CustomerProfileType and we are getting error like: { "code": 500, "message": "Could not load type "abc\Form\Extension\AdminApi\CustomerProfileTypeExtension": class does not implement…
stefun
  • 1,261
  • 3
  • 24
  • 54
3
votes
0 answers

Q: How to add a custom form field to the checkout?

I've been trying to add a custom form field to the checkout step of the delivery method, where the customer can pick a date for delivery. I've added the delivery_date value to Shipment, it shows up in dump logs and mysql. I wrote a…
Niiv
  • 31
  • 1
3
votes
8 answers

Composer: PHP Fatal error: Out of memory || Setting memory_limit doesn't work

When I'm trying to install a new bundle with composer, I'm always running into this problem: PHP Fatal error: Out of memory (allocated 1690828800) (tried to allocate 268435456 bytes) in…
Lukas
  • 169
  • 1
  • 3
  • 8
3
votes
0 answers

Form errors displayed twice

I've got a form to change a user password. When the passwords aren't the same, the error message is displayed twice. This is my code :
{{ form_widget(form.currentPassword, {'attr':{'type':…
N.Jourdan
  • 590
  • 2
  • 4
  • 22
3
votes
1 answer

Sylius/Payum/Stripe config error "boolean sandbox option must be set"

I have successfully set up the Stripe gateway, however when I try to submit the payment as a user, I get the error, "The boolean sandbox option must be set." I do not get this error with PayPal, only with Stripe. Here are my relevant config.yml…
rooter
  • 189
  • 3
  • 11
3
votes
1 answer

how to customize Sylius in order to sell free products (by default the min. price is 0.01)

I've got to make a shop based on sylius able to sell free products. In order to do so, I've followed the doc "Customizing Validation" and made thoses modifications :…
Bruno
  • 1,088
  • 1
  • 13
  • 31
3
votes
0 answers

The Association Refers to the Owning Side Field Which Does Not Exist

I'm trying to add a many-to-many relationship between two existing entities in Sylius (ShopUser and Taxon). I've followed the Doctrine documentation on this, and thought I had everything set up correctly, but I get the following error: The…
carbide20
  • 1,717
  • 6
  • 29
  • 52
3
votes
1 answer

Sylius: Overwrite BackendMenuBuilder

I start developing a project based on Sylius and after install process I want to customize Backend Dashboard. As Sylius works with services, I found that BackendMenuBuilder is a service called "sylius.menu_builder.backend". With this in mind and…
3
votes
0 answers

Sylius - Taxon not Showing Products Assigned to it

I'm having some trouble getting products to show under the taxon they are assigned to. I've assigned multiple products to a top-level taxon. I've double-checked to make sure that this setting saved, and they're definitely associated. If I click on…
carbide20
  • 1,717
  • 6
  • 29
  • 52
3
votes
2 answers

Doctrine 2 overriding many to one association

Is it possible to override @ManyToOne(targetEntity)? I read this Doctrine documentation page, but it doesn't mention how to override targetEntity. Here's my code: namespace AppBundle\Model\Order\Entity; use…
lukas_jenicek
  • 66
  • 2
  • 3
3
votes
2 answers

what differ Sylius/Sylius and Sylius/Sylius-Standard?

What are Sylius/Sylius-Standard and Sylius/Sylius projects? Installation guide leads to Sylius/Sylius-Standard and http://demo.sylius.org/ shows Sylius/Sylius-Standard. So what is Sylius/Sylius?
Sruj
  • 1,177
  • 2
  • 18
  • 38
3
votes
3 answers

Sylius add to cart via CartItemController gives 0,00 total

We are currently developing an ERP-based webshop with Sylius. One of the features is that a customer can select multiple sizes and quantities and add them to their cart in one action. Normally Sylius would work with a request-based ItemResolver for…
pottink
  • 93
  • 4
1 2
3
46 47