
Originally Posted by
xcergy
I tried that. Products info is set @ 0
Went to tools/store manager, that did no good either.
Went to catalog/name sorter ... even changed sort#s. That screen sorted by sort number, but in
/[admin]/options_name_manager.php, it will still not sort by sort#
Ohhhh.. So the goal has been to display option names in sort order on the option_names_manager this entire time??? Ohh... Well, that can be done with:
First add the language define file for the following addition:
in admin/includes/languages/YOUR_LANGUAGE/options_name_manager.php
add a define for sort order like this:
Code:
define('TEXT_OPTION_SORT_ORDER', 'Option Sort Order');
find, this was around line 562 of admin/options_name_manager.php (line number was referenced from a file that has already been modified to support Stock-By-Attributes and therefore line number is likely off by a bit):
Code:
<td valign="top" align="left"><form name="option_order_by" action="<?php echo zen_href_link(FILENAME_OPTIONS_NAME_MANAGER, 'option_order_by=' . $option_order_by, 'NONSSL'); ?>"><select name="selected" onChange="go_option()"><option value="products_options_id"<?php if ($option_order_by == 'products_options_id') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_ID; ?></option><option value="products_options_name"<?php if ($option_order_by == 'products_options_name') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_NAME; ?></option></select></form></td>
And "add"/replace with:
Code:
<td valign="top" align="left"><form name="option_order_by" action="<?php echo zen_href_link(FILENAME_OPTIONS_NAME_MANAGER, 'option_order_by=' . $option_order_by, 'NONSSL'); ?>"><select name="selected" onChange="go_option()"><option value="products_options_id"<?php if ($option_order_by == 'products_options_id') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_ID; ?></option><option value="products_options_name"<?php if ($option_order_by == 'products_options_name') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_NAME; ?></option><option value="products_options_sort_order"<?php if ($option_order_by == 'products_options_sort_order') { echo ' SELECTED'; } ?>><?php echo TEXT_OPTION_SORT_ORDER; ?></option></select></form></td>
Bookmarks