How to convert one product into a variant of another?
I have a product already created, and I want it to become a variant of another product, without having to delete the product and create it again.
Is it possible to do it in dolibarr?
How to convert one product into a variant of another?
I have a product already created, and I want it to become a variant of another product, without having to delete the product and create it again.
Is it possible to do it in dolibarr?
Hi,
i’m not sure what you need exactly but from my experience almost everything is possible.
Please can you explain litte bit more, ie.
Product A ( already exist ) needs to …
BR
Product A already exists and must be converted as a variant of product B.
Product B is the father
Product A is the son.
If this is something what needs to be done 1-time I suggest to export and re-import the products ( before re-importing adjust the table as needed ).
However, i’m not using the variant extension module therefore i’m not familar with options but i’m pretty sure it’s possible.
Br
I think it’s possible.
Do you think modifing only llx_product_attribute_combination table it is possible?
Or I need to modify other tables?
Thanks.
Did you ever figure this out? I also have this need.
You have to modify imho 2 tables
llx_product_attribute_combination
llx_product_attribute_combination2val
The second table has useful values from
llx_product_attribute
and llx_product_attribute_value
.
Maybe the table llx_product_attribute_combination_price_level
is also involved.
Please look also at the mysql tables beginning with llx_product_attribute....