| Q | A |-----------------|----- | Branch? | 1.13 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | na | License | MIT <!-- - Bug fixes must be submitted against the 1.13 branch - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> Hello, If we add a custom API endpoint to the Orders using any method besides GET, we end up with a very unclear 404 error. Investigating this led us to find this "feature" which prevents us from loading the order with a given token due to the order not being in the state `cart`. In our case, we needed to update the customer cart with information from an older order. So it was logical for us to use `POST` as we are updating the cart, and it was logical to have the order token in the URL to specify the order we need to pull the data from. It was therefore quite frustrating to debug; I thought adding a little tip about it in the docs wouldn't hurt any future developer coming across this issue. Reference to the class where this filtering is done: https://github.com/Sylius/Sylius/blob/2.0/src/Sylius/Bundle/ApiBundle/Doctrine/ORM/QueryExtension/Shop/Order/StateBasedExtension.php Hope I contributed as needed, with ❤️ Regards |
||
|---|---|---|
| .bunnyshell | ||
| .docker | ||
| .github | ||
| adr | ||
| app | ||
| bin | ||
| config | ||
| docs | ||
| etc | ||
| features | ||
| public | ||
| src | ||
| templates | ||
| tests | ||
| translations | ||
| var | ||
| .babelrc | ||
| .dockerignore | ||
| .editorconfig | ||
| .env | ||
| .env.test | ||
| .env.test_cached | ||
| .eslintrc.js | ||
| .gitattributes | ||
| .gitignore | ||
| .npmignore | ||
| .readthedocs.yaml | ||
| .symfony.insight.yaml | ||
| behat.yml.dist | ||
| CHANGELOG-1.0.md | ||
| CHANGELOG-1.1.md | ||
| CHANGELOG-1.2.md | ||
| CHANGELOG-1.3.md | ||
| CHANGELOG-1.4.md | ||
| CHANGELOG-1.5.md | ||
| CHANGELOG-1.6.md | ||
| CHANGELOG-1.7.md | ||
| CHANGELOG-1.8.md | ||
| CHANGELOG-1.9.md | ||
| CHANGELOG-1.10.md | ||
| CHANGELOG-1.11.md | ||
| CHANGELOG-1.12.md | ||
| CHANGELOG-1.13.md | ||
| composer-require-checker.json | ||
| composer.json | ||
| CONFLICTS.md | ||
| docker-compose.test.yml | ||
| docker-compose.yml | ||
| ecs.php | ||
| gulpfile.babel.js | ||
| LICENSE | ||
| Makefile | ||
| monorepo-builder.php | ||
| package.json | ||
| phparkitect.php | ||
| phpspec.yml.dist | ||
| phpstan-baseline.neon | ||
| phpstan.neon.dist | ||
| phpunit.xml.dist | ||
| README.md | ||
| rector.php | ||
| RoboFile.php | ||
| SECURITY.md | ||
| symfony.lock | ||
| UPGRADE-1.0.md | ||
| UPGRADE-1.1.md | ||
| UPGRADE-1.2.md | ||
| UPGRADE-1.3.md | ||
| UPGRADE-1.4.md | ||
| UPGRADE-1.5.md | ||
| UPGRADE-1.6.md | ||
| UPGRADE-1.7.md | ||
| UPGRADE-1.8.md | ||
| UPGRADE-1.9.md | ||
| UPGRADE-1.10.md | ||
| UPGRADE-1.11.md | ||
| UPGRADE-1.12.md | ||
| UPGRADE-1.13.md | ||
| UPGRADE-2.0.md | ||
| UPGRADE-API-1.8.md | ||
| UPGRADE-API-1.9.md | ||
| UPGRADE-API-1.10.md | ||
| UPGRADE-API-1.11.md | ||
| UPGRADE-API-1.12.md | ||
| UPGRADE-API-1.13.md | ||
| UPGRADE-FROM-1.12-WITH-PRICE-HISTORY-PLUGIN-TO-1.13-LEGACY.md | ||
| UPGRADE-FROM-1.12-WITH-PRICE-HISTORY-PLUGIN-TO-1.13.md | ||
| webpack.config.js | ||
| yaml-standards.yaml | ||
Sylius is an Open Source eCommerce framework on top of Symfony.
The highest quality of code, strong testing culture, built-in Agile (BDD) workflow and exceptional flexibility make it the best solution for applications tailored to your business requirements. Powerful REST API allows for easy integrations and creating unique customer experience on any device.
We're using full-stack Behavior-Driven-Development, with phpspec and Behat.
Enjoy being an eCommerce Developer again!
⚙️ Installation
Install Sylius with Composer (see requirements details).
Follow the Getting started with Sylius tutorial!
📖 Documentation
Documentation is available at docs.sylius.com.
➕ Sylius Plus
Sylius Plus offers modular features like OnePageCheckout and a B2B suite, alongside advanced capabilities such as multi-store management, partial order fulfillment, smooth returns handling, a loyalty system and multi-source inventory. Pick and choose the modules you need to supercharge your eCommerce projects effortlessly.
🤝 Community
Get Sylius support on Slack or Stack Overflow or get professional SLA-backed support and Project Success Assistance with Sylius Plus license! Learn more.
Stay updated by following our Twitter and Facebook.
Would like to help us and build the most developer-friendly eCommerce framework? Start from reading our Contributing Guide!
👮 Security issues
If you think that you have found a security issue in Sylius, please do not use the issue tracker and do not post it publicly.
Instead, all security issues must be sent to security@sylius.com.
📦 Plugins and Extensions: Sylius Store
You can find Sylius plugins on our Sylius Store which is a Marketplace with Sylius extensions.
Or search for packages marked as sylius-plugin on Packagist.
📃 License
Sylius is completely free and released under the MIT License.
✍️ Authors
Sylius was originally created by Paweł Jędrzejewski.
Kudos to all Sylius contributors 🙏
... and others!
See the full list of contributors from our awesome community.



















































































