1b.app
Link copied -

Availability of related products

We have a product that we sell at one price, and we have the same product only with decor (in two versions), which we make from the first product when a customer places an order. How do we make sure that the items we make from the first item are in stock when the first item is in stock?
Original question is available on version: ru

Answers:

If you manufacture goods using passports and "Production" - in automation for products, the action "Fill in the product card based on passport materials" is available, where there is a setting "If all component goods have the "In stock" checkbox, put it in the Produced product . If at least one of the components does not have a check mark - remove it in the manufactured product "- it will probably solve your problem.
In theory, you could try setting up an update action so that when parts are updated, the produced product is recalculated.
31.03.2021, 15:40
Original comment available on version: ru


Tyndyk Maxim Vadimovich wrote:
If you manufacture goods using passports and "Production" - in automation for products, the action "Fill in the product card based on passport materials" is available, where there is a setting "If all component goods have the "In stock" checkbox, put it in the Produced product . If at least one of the components does not have a check mark - remove it in the manufactured product "- it will probably solve your problem.
In theory, you could try setting up an update action so that when parts are updated, the produced product is recalculated.

I enabled this automation, but now after saving the product it gives an error 500
02.04.2021, 10:43
Original comment available on version: ru


Sergey wrote:
I enabled this automation, but now after saving the product it gives an error 500

Probably you looped the update of the goods among themselves? (that the same product is updated from one product)
Let's look at the example of the product where the error occurs (I recommend that you disable the action for now, I will enable it when you give a link to the problematic product and I will test the correctness of the settings)
02.04.2021, 18:04
Original comment available on version: ru

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