Attributes controller
my drop down list of products are in random order, but I want them to be alphabetized.
I thought maybe if I set the order of all products in the category by ABC it would fix the attributes controller list, but it doesn't.
Printable View
Attributes controller
my drop down list of products are in random order, but I want them to be alphabetized.
I thought maybe if I set the order of all products in the category by ABC it would fix the attributes controller list, but it doesn't.
Fixed it... at the top of the attributes controller is a dropdown called Additional Actions, from there I simply chose: Update sort order to default.
Nevermind that didn't fix it
you should post your zen-cart version. hard to help without knowing that.
Sorry, 1.5.8
no worries.
you have found a bug! i'll look to fix it later today or tomorrow.
as an interim solution, you can change this line (891):
please let me know if that does what you want.PHP Code:
//from
<div class="col-xs-8 col-sm-8 col-md-6 col-lg-4 text-center"><?php echo zen_draw_pulldown_products('products_filter', 'class="form-control"', '', true, $_GET['products_filter'], true, true); ?></div>
//to
<div class="col-xs-8 col-sm-8 col-md-6 col-lg-4 text-center"><?php echo zen_draw_pulldown_products('products_filter', 'class="form-control"', '', true, $_GET['products_filter'], true, true, 'products_name'); ?></div>
best.
Yes that was perfect, thank you!
@jmberman
you can replace this 2 files with the hyperlinks contained here:
includes/classes/productPulldown.php
includes/functions/functions_categories.php
you can then revert your attributes controller to the original. and then you can control the sort via the config key of:
PRODUCT_INFO_PREVIOUS_NEXT_SORT
which should be on the product info configuration page or somewhere around here:
admin/index.php?cmd=configuration&gID=18
if you could test that for us, it would be most helpful.
best.
Files replaced and controller reverted... trying now.
Perfect. No issues so far.
Yup, everything worked great.
Thank you.:hug: