VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Kuubs on August 17, 2023, 14:05:00 PM

Title: Disabled fields show up as option when product is in cart
Post by: Kuubs on August 17, 2023, 14:05:00 PM
I finally found the problem with disabled custom fields, I have been splitting hairs over this for weeks, maybe months.

When you have disabled custom field for a child product (or parent product via PHPMyadmin) it doesn't show up when selecting values of that specific custom field. BUt when you put that product in your cart, and navigate back to the product, the disabled custom fields show up and are selectable for ordering!! This is a major bug that needs to be addresssed, because people can basically order things when it's supposed to be disabled. My client uses this function when accessories or colors are out of stock. Now they still get ordered.  Can someone maybe point me in the right direction where this bug occurs (customfield.php override?) So I can fix this issue. This is a major critical bug in my opinion.
Title: Re: Disabled fields show up as option when product is in cart
Post by: Milbo on August 21, 2023, 20:53:58 PM
Very good work. I also split my hairs about this problem.

Please try vm4.2.2 and it should be fixed. :-)
Title: Re: Disabled fields show up as option when product is in cart
Post by: Kuubs on September 26, 2023, 09:16:47 AM
Quote from: Milbo on August 21, 2023, 20:53:58 PM
Very good work. I also split my hairs about this problem.

Please try vm4.2.2 and it should be fixed. :-)
It is fixed! Thank you!