Disabled fields show up as option when product is in cart

Started by Kuubs, August 17, 2023, 14:05:00 PM

Previous topic - Next topic

Kuubs

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.

Milbo

Very good work. I also split my hairs about this problem.

Please try vm4.2.2 and it should be fixed. :-)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Kuubs

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!