Re: Attributes Controller Update Sort not working
Edit the file:
/admin/attributes_controller.php
and change the line around 188:
Code:
case ('update_product'):
to read:
Code:
case ('update_attribute_sort'):
then change the line around 756:
Code:
<td class="smallText" align="center"><?php echo '<a href="' . zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, '&action=update_product' . '&products_filter=' . $products_filter . '¤t_category_id=' . $current_category_id) . '">' . zen_image_button('button_update_sort.gif', IMAGE_UPDATE_SORT) . '<br />' . TEXT_ATTRIBUTES_UPDATE_SORT_ORDER . '</a>'; ?></td>
to read:
Code:
<td class="smallText" align="center"><?php echo '<a href="' . zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, '&action=update_attribute_sort' . '&products_filter=' . $products_filter . '¤t_category_id=' . $current_category_id) . '">' . zen_image_button('button_update_sort.gif', IMAGE_UPDATE_SORT) . '<br />' . TEXT_ATTRIBUTES_UPDATE_SORT_ORDER . '</a>'; ?></td>
Does this work for you now for the Update Sort Order?
Re: Attributes Controller Update Sort not working
It appears that those edits worked! It no longer kicks me back out to the admin index and there is a message at the top stating, "Successful Attribute Sort Order Update for ID# 1234 product name"
Thank you - I will be sending you some coffee and donuts.
Re: Attributes Controller Update Sort not working
Thanks for the update that this works for you ... :smile:
Re: [Done] Attributes Controller Update Sort not working
This did not work for me. It's still sending me back to the admin control home screen without saving anything.
I have 1.3.9h with Dual pricing installed.
Re: [Done] Attributes Controller Update Sort not working
Did you check if the Dual Pricing module uses the "/admin/attributes_controller.php" file?
If yes, you need to apply the changes mentioned by Ajeh.
If no, are you using another module that uses that file?
Re: [Done] Attributes Controller Update Sort not working
Yes, I checked the file in /admin/attribute_controller.php, and followed Ajeh's instructions changing those 2 changes. When click update/save it just loads me to the main admin control.
I also have 2 other modules installed:
local_sales_tax_mod_2-5 and minimum_order_1-0-1b which doesn't affect the attribute_controller.php file.
I have a total of 3 modules installed
Dual Pricing v2 following these instructions http://www.zen-cart.com/forum/showth...284#post983284 read post #687
Local Sale Tax Mod
Minimum Order with changes fromthis page http://www.zen-cart.com/forum/showth...223#post560223 read post #16
Thanks for responding.
Re: [Done] Attributes Controller Update Sort not working
Quote:
Originally Posted by
missta
This did not work for me. It's still sending me back to the admin control home screen without saving anything.
I have 1.3.9h with Dual pricing installed.
I am also having the same problem. I can update option name manager just fine. When I go to Option Values Manager and fill in the fields Option Name and Option Value and click update I get sent back to the main admin page. Any ideas on this would be grateful. I have no add on that use attribute_controller.php My PHP version is 5.2.17
Thank You
Re: [Done v1.5.0] Attributes Controller Update Sort not working
Did you try the fix on post #11 to see if that corrects the problem?
Re: [Done v1.5.0] Attributes Controller Update Sort not working
Quote:
Originally Posted by
Ajeh
Did you try the fix on post #18 to see if that corrects the problem?
Thanks Linda for taking the time to help.
Post #18 ? I tried the fix on post #11 but it still does not work.
Re: [Done v1.5.0] Attributes Controller Update Sort not working
err ... umm .. just testing you .. post #11 ... :blink:
Does it work on the Attributes Controller?
Does it work on the Tools ... Store Manager ... to Update All Products' Attribute Sort Orders
to match Option Value Default Sort Orders:
And your sure, if you go to the Tools ... Server Info ... it is displaying php v5.2.17 ...