Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Product Option help tips

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-24-2013, 11:47 AM
 
Matt W Matt W is offline
 

Newbie
  
Join Date: Jul 2011
Posts: 9
 

Question 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.
Attached Files
File Type: php product_options - HELP TEXT.php (40.8 KB, 73 views)
__________________
x-cart 4.5.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:53 PM.

   

 
X-Cart forums © 2001-2020