What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Are there any plugins for expanding a product's prices (e.g. strike prices etc) on the ItemTransfer
Are there any plugins for expanding a product's prices (e.g. strike prices etc) on the ItemTransfer (in Yves)?
Comments
-
I've just added an own field "originPrice" to the transfer object. We have margins in our shop and need the origin price for checkout.
I am setting this price in an own plugin for the marginCalculation I've added into the process ofsrc/Pyz/Zed/Calculation/CalculationDependencyProvider.php
Hope this helps
0 -
ItemExpanderPluginInterface
is that what you want? By item - you mean cart item, right? Note that this plugin is on the Zedβs side
0 -
@ULL0N440J yes that is exactly our use case
0 -
@UKJSE6T47 I think this is a job for the
CartItemTransformerPluginInterface
in Yves?0 -
I guess it could be set in many places? Would expanding it Yves side (from client) be the best option? (it's only for display)
0 -
yes, if itβs only for display - then it can be on Yves (Client actually), sure
0 -
have a look at
Pyz\Client\Cart\CartDependencyProvider::getAddItemsRequestExpanderPlugins()
0 -
cc @UK5GL0DEF π
0 -
π
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random