How to customize or remove shipping from step engine ?
vikas.k
Posts: 9 🧑🏻🚀 - Cadet
Hello Everyone I want to remove shipping from checkout step so is there any out of box functionality available in spryker ?
0
Answers
-
In order to do that, You would have to override the CheckoutPageFactory. Also the StepFactorty.
In the StepFactory, override the parent method:
You have to also override the
CheckoutPageRouteProviderPlugin, override theaddRoutesmethod, copy the parent one and remove the route for the shipment.
Override the SummaryStep so you remove any post conditions related to the Shipment.
There are also pre conditions before the order is placed and an array of plugins are executed in Pyz/Zed/Checkout/CheckoutDependencyProvider:
Comment out the Shipment pluginAlso the states in your OMS related to Shipment
1
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 92 Spryker News
- 1K Developer Corner
- 855 Spryker Development
- 93 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 35 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 34 Product & Business Questions
- 70 Spryker Safari Questions
- 51 Random



