Quantity Value Conversions per Object #17600
Unanswered
cancan101
asked this question in
Q&A / Support
Replies: 1 comment
-
In Product class I have numberInBox, numberInPallete, numberInContainer fields, which I set manually (sometimes required) or (if left blank) calculated onPreUpdate using given product dimensions. In another object, which deals with shipment, I use a calculated field that checks all these values per product and give a final result. What you asked is done in calculator class behind curtains in my example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to define the factor used for quantity conversion on a per object basis? For example I have units:
EA
- Eaches andPL
- Pallets. How manyEA -> Pallets
varies based on the specific product. Is it possible to do that in Pimcore using the Quantity Values.There is a concept of "Dynamic unit conversion"; however, the
convert
method:pimcore/models/DataObject/QuantityValue/QuantityValueConverterInterface.php
Lines 21 to 24 in 6889268
does not get passed in the object itself.
Beta Was this translation helpful? Give feedback.
All reactions