Product Option help tips
I'm adding a help tip icon for each product option. I have the front-side display working for this already, but want to give the shop owner the ability to control the tips via the admin.
I added a new field to the classes table called "helptext". I found the file /modules/Product_Options/product_options.php is where the table is updated, but can't seem to get it working. I am a developer, but I'm not a PHP programmer. I added what I thought should work, and it did somewhat.
On an existing option, when saving the option group form, it saves to the database, but throws an error. If I try to create a new option group, it errors and does not save. The error is "Access Denied", but I'm thinking it is something I did wrong in the product_options.php file.
I'm attaching the file with my edits in case anyone is able to take a quick look and see what I did wrong. This is for a 4.5.5 store. Thanks.
__________________
x-cart 4.5.5
|