1b.app
Link copied -

Evaluate the possibility of finishing the brewing process

There is a process https://skinon.1b.app/19/
it has a product (eg https://skinon.1b.app/app/product/245/edit/) that has a price per ml and volume https://i.imgur.com/XEmtS3X.png
suppose this product is in stock
it is necessary to add an option so that if a value, for example 50, is specified in the additional field of the product of the “Drinking volume” process, this product is written off from the warehouse and 500/50=10 pieces of this product are sold instead (the product must be created or values ​​must be added to it filter-characteristic “Volume)
That is, they can "drink" to any value, for example, to 100 or 150 or 120 or any other value of ml. If the volume of the product is, for example, 500 ml, and in the "Volume of drinking" field, for example, 120 is indicated, then 4 products with a value of 120 and 1 product with a value of 20 should be registered.
The nuance is that only products with a certain volume can be used for "drinking" (https://i.imgur.com/ZLf5r1M.png - in this part of the product table, it can be seen that these are the products in which the "Cost" value is filled per ml", and where there is a dash - such products cannot be used).
at the "drunk" stage in this process (https://skinon.1b.app/admin/shop/workflowstatus/84/action/new/) I set the actions https://i.imgur.com/OvoAmCS.png but completely they don't fit
Please tell me how to build a similar process and what is better to use in this case for the "volume" value in the product card - an additional product field or characteristic filters. If a modification is necessary, please rate this modification.
Thank you for your time.
Original question is available on version: ua

Answers:

willing to pay for this issue
09.02.2024, 15:21
Original comment available on version: ua

10.02.2024, 13:48
Original comment available on version: ua

The issue is resolved, thank you for your promptness!
11.02.2024, 22:15
Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment