VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Kuubs on February 23, 2024, 10:46:45 AM

Title: Override child products field are removed from the database, and from the order
Post by: Kuubs on February 23, 2024, 10:46:45 AM
Hello,

I have a request for a change in the code. When you override a custom field in the child product it will make a new custom field record in the database. But when you disable that override, it also removes this record from the database. The thing is that it also removes the instance from the order. So it basically changes the order values and it missed the custom field values.

Is it possible when you change this override it checks the orders and sets the values to the parent custom id if its available, so it does not remove these values from the order?
Title: Re: Override child products field are removed from the database, and from the order
Post by: Milbo on February 23, 2024, 12:45:51 PM
What do you mean with disable? If you disable a customfield, it needs an entry todo so. Or do you mean, that you remove it?