This is a discussion on Featured Products within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Changed the button in featured admin to be a little clearer. Instead of delete it now says remove as featured ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Changed the button in featured admin to be a little clearer. Instead of delete it now says remove as featured item. NOTE: COMPLETE STEPS 1 AND 2 for each language you use. 1. upload catalog/admin/includes/languages/english/images/buttons/button_delete_featured.gif 2. in catalog/admin/featured.php ***FIND*** $contents[] = array('align' => 'center', 'text' => ' ' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' ' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''); ***CHANGE TO:*** $contents[] = array('align' => 'center', 'text' => ' ' . tep_image_submit('button_delete_featured.gif', IMAGE_DELETE_FEATURED) . ' ' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''); 2. In catalog/admin/includes/languages/english/featured.php: ***ADD*** define('IMAGE_DELETE_FEATURED', 'Remove product from Featured Product list'); ***CHANGE*** define('TEXT_INFO_DELETE_INTRO', 'Are you sure you want to delete this featured product?'); ***TO*** define('TEXT_INFO_DELETE_INTRO', 'Are you sure you want to remove this product from the Featured Product list?'); ***FIND*** define('TEXT_INFO_HEADING_DELETE_FEATURED', 'Delete Featured Product'); ***CHANGE TO*** define('TEXT_INFO_HEADING_DELETE_FEATURED', 'Remove From Featured Product List'); 3. in catalog/admin/featured.php ***FIND*** $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_edit.gif', IMAGE_EDIT) . ' ' . tep_image_button('button_delete.gif', IMAGE_DELETE) . ''); ***CHANGE TO:*** $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_edit.gif', IMAGE_EDIT) . ' ' . tep_image_button('button_delete_featured.gif', IMAGE_DELETE_FEATURED) . ''); ***FIND*** $heading[] = array('text' => '' . TEXT_INFO_HEADING_DELETE_FEATURED . ''); ***CHANGE TO*** $heading[] = array('text' => ' ' . TEXT_INFO_HEADING_DELETE_FEATURED . ''); More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Featured Products | michael_s | New osCommerce Contributions | 0 | 08-29-2007 03:26 AM |
| Featured Products | michael_s | New osCommerce Contributions | 0 | 08-10-2007 06:21 PM |
| Featured Products | michael_s | New osCommerce Contributions | 3 | 07-27-2007 09:23 AM |
| Featured Products | michael_s | New osCommerce Contributions | 0 | 03-23-2007 11:00 AM |
| Featured Products HELP Please. | lil-raskals | osCommerce 2.2 Modification Help | 0 | 10-07-2004 05:51 AM |