VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: EvanGR on February 22, 2021, 15:29:32 PM

Title: Multivariant: how to delete obsolete entries?
Post by: EvanGR on February 22, 2021, 15:29:32 PM
I can create child products for a multivariant, but it seems I can't remove them?
(see screenshot)

VM 3.8.9 10473
Title: Re: Multivariant: how to delete obsolete entries?
Post by: Jörgen on February 22, 2021, 19:11:28 PM
Child product is a normal product with parent entry. Have you tried to select child product and delete ?

Jörgen
Title: Re: Multivariant: how to delete obsolete entries?
Post by: EvanGR on February 23, 2021, 09:00:46 AM
Quote from: Jörgen on February 22, 2021, 19:11:28 PM
Child product is a normal product with parent entry. Have you tried to select child product and delete ?

Jörgen

The parent product shows as having 4 children. The extra 2 blank entries do not exist.
If I click on on them, they take me to a blank product with id:0 that I cannot remove.
Title: Re: Multivariant: how to delete obsolete entries?
Post by: Jörgen on February 23, 2021, 09:49:42 AM
Have You checked database? I do not think that ID == 0 should exist in products. If it does, delete in phpMyAdmin.

Jörgen
Title: Re: Multivariant: how to delete obsolete entries?
Post by: EvanGR on February 24, 2021, 09:23:05 AM
Thanks, yes it is definitely a bug. I will need to solve via the DB.
Next time I reproduce this I will provide more details.
Title: Re: Multivariant: how to delete obsolete entries?
Post by: Studio 42 on February 25, 2021, 23:42:59 PM
Have you try to remove the multi variant field in the product and add a new one ?