Zen Follower
- Join Date:
- Jun 2010
- Posts:
- 204
- Plugin Contributions:
- 0
Flexible Attributes addon support
gjh42:
I would copy the desired statement to replace the name statement for now:```php
if (PRODUCTS_OPTIONS_SORT_ORDER=='0') {
$options_order_by= ' order by LPAD(popt.products_options_sort_order,11,"0")';
} else {
//$options_order_by= ' order by popt.products_options_name';
$options_order_by= ' order by LPAD(popt.products_options_sort_order,11,"0")';
}
That seems to work as well. I have made that change. Thanks again for all your help!!!!