VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: JestaBlunt on July 08, 2015, 15:15:52 PM

Title: Add existing products as child products
Post by: JestaBlunt on July 08, 2015, 15:15:52 PM
hi,

a customer made a product for each color, but now he asks for a color attribute. can i connect all the existing products to a parent product? or do i have to create a new for every existing and copy the data?

peace, jesta

Title: Re: Add existing products as child products
Post by: Studio 42 on July 08, 2015, 15:40:03 PM
Hi jesta,

You can buy this tool  from my shop:
http://shop.st42.fr/en/tools/vm-be-pro-batch-product-edit.htm
Then you can set in this tool options :
show : parent_id

after this, you can simply change the parent id, to change the parent id in VM be pro.
You can batch remove the categories with the same tools, to not display your children in the category, to only see children in product.

DO not forget to add the customfield "Generic child variant" in the parent product or you cannot display the children in the product.

Best Regards,
Patrick
Title: Re: Add existing products as child products
Post by: balai on July 08, 2015, 17:26:12 PM
Try this plugin
https://breakdesigns.net/extensions/stockable-custom-fields
Title: Re: Add existing products as child products
Post by: Studio 42 on July 08, 2015, 22:48:09 PM
Balai, he's main problem is to set an existing product as children.
This is not a core functionality.
Of course, you can always use mysql and change the parent id
Title: Re: Add existing products as child products
Post by: balai on July 09, 2015, 09:30:03 AM
Yes with the plugin i suggested he can do exactly that.
Title: Re: Add existing products as child products
Post by: JestaBlunt on July 09, 2015, 10:53:30 AM
thx, balai...works like a charm...and looks better then vanilla fields ^^

is there a way to exclude variations from search?
Title: Re: Add existing products as child products
Post by: Studio 42 on July 09, 2015, 11:17:15 AM
To exclude result, you have to remove categories.
See explain before, or go to each product and remove categories by hand

Quote from: JestaBlunt on July 09, 2015, 10:53:30 AM
thx, balai...works like a charm...and looks better then vanilla fields ^^

is there a way to exclude variations from search?
Title: Re: Add existing products as child products
Post by: JestaBlunt on July 09, 2015, 11:26:07 AM
maybe its not that bad, i have to talk to the customer first. what i dont like on search result is, that now even the child product has the text "choose variation first". but the child product is the variation, so it shold be putable in the cart without choosing.