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..
which feature in Spryker expands the sales order items so that there is one per unit? e.g. 5x SKU-12
Comments
-
Itβs SalesQuantity module
0 -
-
thanks π
0 -
if our line items were being exploded into indivual units, but the sum price (i.e. product price X 4) was being persisted in each exploded sales order item
0 -
would that signify anything to you?
0 -
I believe that if you are importing orders - you need to merge (nonslit) items via the import process
0 -
no, this happens on checkout?
0 -
In this case I am not sure that I can understand your question π
0 -
when the order is placed, the quote transfer is converted to a sales order
0 -
at which point the items are (in our configuration at least) exploded into individual sales items based on their quantity
0 -
but the price of each sales item is set to the sum of the total (e.g. 5) instead of for 1
0 -
Price for split and non split items will be calculated accordingly
0 -
hm, i'm sure the problem is with our config somewhere
0 -
Please check price calculation plugins on project level.
0 -
Or just debug π
0 -
yep, setting up a test ...
0 -
SalesOrderExpanderPlugin
in CheckoutDepenpendencyProvider getCheckoutPreSaveHooks() ?
0 -
no, nothing.
0 -
it might even be Spryker default behavior?
0 -
in SalesOrderSaver:
$itemTransfer->setSumGrossPrice($itemTransfer->getSumGrossPrice() ?? $itemTransfer->getUnitGrossPrice());
0 -
where
UnitGrossPrice
is the one we want0 -
but it says its deprecated
0 -
0
-
is what it looks like currently
0 -
our fix was to override the order saver, but it seems there must be another way
0 -
anyway home time π
0 -
thanks for the suggestions
0 -
hmmm, no idea, have a good WE and good luck!
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