VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Sedinet on March 20, 2017, 12:50:37 PM

Title: Multivariant Delete child product
Post by: Sedinet on March 20, 2017, 12:50:37 PM
Hello,
I have the version of joomla 3.6.5 and of virtuemart 3.2.0
When I delete a child product It leaves an empty line (marked in red in the image that I attached) when saving it gives me error that the slug field can not be empty.
How can this be solved?

Thank you
Title: Re: Multivariant Delete child product
Post by: Milbo on March 22, 2017, 14:48:30 PM
I wonder, because I removed this error and just tested again, and deleted children are removed from the list and so deleted, when the product ist stored.

Do you have a multilanguage store?
Title: Re: Multivariant Delete child product
Post by: Sedinet on March 27, 2017, 11:05:10 AM
No, just a language, Spanish

Thank you
Title: Re: Multivariant Delete child product
Post by: johnkont on April 18, 2017, 10:22:54 AM
Delete the custom field in the master product.
Delete child product.
Create again custom field in master product.
Title: Re: Multivariant Delete child product
Post by: d0ublezer0 on April 26, 2018, 21:30:33 PM
Quote from: johnkont on April 18, 2017, 10:22:54 AM
Delete the custom field in the master product.
Delete child product.
Create again custom field in master product.
This is a problem - I have to re-specify all the options.
It is very uncomfortable.
If you delete a child product (this is logical), you will get an empty field in the multivariant (as you see in screen at first message in this topic) and get an error:

vmError: VmTable #__virtuemart_products_ru_ru Check not passed. Neither slug nor obligatory value at product_name for auto slug creation is given.
vmError: You are not an administrator or the correct vendor, storing of product cancelled

So, is it possible to delete only one intersecting variant of multivariant fields?
I would not like to give the option of choosing empty variants on shop front
Title: Re: Multivariant Delete child product
Post by: johnkont on April 27, 2018, 10:23:26 AM
The other solution is to disable the child product.
The disadvantage in that is you will have extra unused products.


Sent from my iPhone using Tapatalk
Title: Re: Multivariant Delete child product
Post by: Milbo on April 30, 2018, 12:27:21 PM
Please tell me your version number and language setup of your store. and which language you used deleting the child.
Title: Re: Multivariant Delete child product
Post by: d0ublezer0 on May 10, 2018, 13:58:14 PM
Quote from: Milbo on April 30, 2018, 12:27:21 PM
Please tell me your version number and language setup of your store. and which language you used deleting the child.
VM3.2.12
Only "Russian" store and of course, we use russian for content
Title: Re: Multivariant Delete child product
Post by: gap on November 13, 2021, 18:31:29 PM
Quote from: Milbo on March 22, 2017, 14:48:30 PM
I wonder, because I removed this error and just tested again, and deleted children are removed from the list and so deleted, when the product ist stored.

Do you have a multilanguage store?
Hello Milbo,
This bug is still present in VM 3.8.8. I can only turn off products but cannot delete them, in order to avoid problems. Furthermore if "don't show product if there is no stock" option is on in child product, the multivariant still wants to list it and gives errors.
My store has many languages. Here is the problem in details:
http://forum.virtuemart.net/index.php?topic=146331.0
Could you pls give a hint in what file and how to fix this?
thanks