This is a discussion on Products Extra Fields within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I am modifying the 'Product Extra Fields' contribution, and despite the fact I modified catalog.php in catalog\admin\includes\boxes\catalog.php and english.php in ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I am modifying the 'Product Extra Fields' contribution, and despite the fact I modified catalog.php in catalog\admin\includes\boxes\catalog.php and english.php in catalog\admin\includes\languages\english.php, I am still not able to see the entry in the Catalog box ... I order to be complaint with Admin w/access levels, I modified the contribution's and replaced>>> '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXTRA_FIELDS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXTRA_FIELDS . '</a>'); with tep_admin_files_boxes(FILENAME_PRODUCTS_EXTRA_FIEL DS, BOX_CATALOG_PRODUCTS_EXTRA_FIELDS) in catalog.php Then I added >>> // START: Product Extra Fields define('BOX_CATALOG_PRODUCTS_EXTRA_FIELDS', 'Product Extra Fields'); // END: Product Extra Fields in english.php //catalog\admin\includes\languages\english.php Unfortunately I was not able to see the new entry in the Catalog box. So please let me know if there is something missing or I have to modify something else in order to display the new entry. thanx |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| BTW When I posted there was a typo, as the correct way was actually the one used in catalog.php tep_admin_files_boxes(FILENAME_PRODUCTS_EXTRA_FIEL DS, BOX_CATALOG_PRODUCTS_EXTRA_FIELDS) |
|
#3
| |||
| |||
| Fixed, but I still have a permissions problem, I forgot to modify index.php and add the entry. I did it and it worked the problem is when I click the link displays: Access Denied No Right Permission Access Please contact your Web Administrator to request more access or if you found any problem. I couldn't figure out what's wrong with permissions as the files have 0644 ... so if anyone can give me a hint, it will be really helpful. Thanks |
|
#4
| |||
| |||
| After too much hassle I figured out by myself the problem was in file access, and as a long time OSCMaX 1.7 user, I was not aware of. It was easily solved by selecting the file using file access and the contrib started working ... although I still need to figure out why it doesn't show the added fields in Advanced Search ... |
|
#5
| |||
| |||
| Advanced Search uses a template, at first I thought it will be auto generated, because it looks it calls an array, but after a quick look I found I had to manually modify the file and the dependent file javascript code in order to make them work. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Product Extra Fields | michael_s | New osCommerce Contributions | 0 | 11-25-2007 08:00 PM |
| Customers extra fields | michael_s | New osCommerce Contributions | 0 | 10-15-2007 05:04 AM |
| Product Extra Fields | michael_s | New osCommerce Contributions | 0 | 02-07-2007 02:50 PM |
| Product Extra Fields | michael_s | New osCommerce Contributions | 0 | 01-25-2007 10:51 AM |
| How to add extra fields on products! | anil | osCMax v1.7 Discussion | 4 | 03-26-2005 12:07 PM |