Forum OpenACS Q&A: Response to can't delete a record in ec_custom_product_field_values

You need to change the 'if' statement so that it looks like what I posted above.  Returning 'old' for updates will cause the value not to change, and the update will fail.