Ivan Milic - Networks expert Ivan Milic CEO Ivan Milic

Top Menu

× To post a question you must be signed in.

Change parent product to child product

02 Oct 2018 23:45 #3027 by Lorenzo
Hello, Today I paid the excel extension for virtuemart, and I need to know how I can change a parent product to a child product from the extension.

Thank you

Please Log in or Create an account to join the conversation.

03 Oct 2018 08:06 #3028 by Super User
Replied by Super User on topic Change parent product to child product
Hi,

this is explicitly forbidden. There is no case when you can do that and make anything work properly. You would break data if you would just do that.

To achieve what you want and also keep data integrity:

1. Export to cvs
2. Copy that chilled rows below parent row
3. Change parent cell value of copied rows there and clear virtuemart_product_id for them
4. Import back

This way you will do what you need in proper way.

Please Log in or Create an account to join the conversation.

03 Oct 2018 09:09 #3029 by Lorenzo
Replied by Lorenzo on topic Change parent product to child product
I have not explained myself correctly. I want it to change parent products to child products, to assign the changed product to the child, to a parent product.

excuse me

Please Log in or Create an account to join the conversation.

03 Oct 2018 09:13 #3030 by Super User
Replied by Super User on topic Change parent product to child product
Above answer also stands for that case. Export then import to end up with correct data.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds