Option to disable custom fields (the same as you can for childprod cust. fields)

Started by Kuubs, July 14, 2025, 15:23:16 PM

Previous topic - Next topic

Kuubs

Is it possible to add the option to disable custom fields? Instead of removing them, because when I remove them I also remove the custom fields from previous orders (because that references the customfield id, isnted of hardcoding it, so I lose the data from previous orders)

One option is to hardcode the order but a better one is just to add the disabled function that is active for child product to be also added to parent products...

iWim

Can you explain it a little bit more?

Do you want to keep the custom fields for existing products?
Or just visible for you?

Would changing the settings at Admin and/or Restricted by uaergroups achieve what you want?

Kuubs

When I have products i also have custom fields, for example getting a accessory within the order itself. You can then select that custom field to have it in the order.

But when that specific thing is out of stock or not available for whatever reason I want to be able to disable the custom field. If I remove it from the product all the previous orders which contained this specific custom field also get it removed, and thus the orders are not complete anymore.

In child products you have the option to disable custom fields inherited from the parents. I want that exact functionality to have on the parent product as well. Now I have to manually set the product customfield disabled field to 1 so it is disabled and not available when people are ordering products.

Setting the restricted could work but that disabled it for eveyr product. Sometimes i just want it to be disabled for 1 specific product, not all products that use this. custom field.

The functionality is there, the database field is there, we just need to make it work on parent products. I'm not sure why this isn't implemented in the first place. This seems like something that should be mandatory in a ecommerce application.