This topic has 8 replies, 5 voices, and was last updated 1 months, 3 weeks ago ago by Andrew Mitchell
hi team, I need to set the category section to Alphabetical order on mobile hamburger menu category section.
screenshot attached
Hello, @Anas,
Thank you for contacting us and for using XStore.
The categories in the mobile menu are sourced from the product > categories section. You can reorder the categories there and the changes will be reflected in both the mobile and desktop versions. Please follow the steps below.
1. You can rearrange the product categories in the sidebar by going to Appearance > Widgets in your WordPress dashboard. Please refer to the screenshots provided for further assistance.
http://prntscr.com/tpy9a7
http://prntscr.com/tpy9ux
2. You can edit product categories under Dashboard > Product > Categories, where you can set the category order according to your needs. For a better reference, please watch this video: https://www.veed.io/view/d521d66c-81ea-433b-99cd-73f2040c618d?sharingWidget=true&panel=share
We hope this information is useful.
Best Regards,
8Theme’s Team
hello tony, i checked the widget but it has already been set to order according to the name. the desktop version on the shop page works fine but only the mobile version is not in order
Hello @Marco A Jimenez,
I hope this message finds you well.
I am writing to inform you about the current setup of the product categories display in our mobile menu, which utilizes an instance of the WooCommerce Product Categories widget. This is the same code that is used for the sidebar widget display, albeit with custom options tailored for the widget.
We have implemented the following tweak in your snippets (https://prnt.sc/Uz-2NpvMXLwY) to apply the “Name” order in your mobile menu header element:
add_filter('etheme_elementor_mobile_menu_categories_args', function($args) {
$args['orderby'] = 'name';
return $args;
});
You can view the result here: https://prnt.sc/6mmDwqCZ4PCf.
Please review the changes at your convenience and let us know if the solution meets your requirements.
Thank you for your attention to this matter. We look forward to your feedback.
Best regards,
Jack Richardson
8Theme’s Team
hi jack, thats great. this is what i wanted. thank you so much
Hello, Anas,
You are welcome!
Would be appreciated if you leave 5stars rating for our theme https://themeforest.net/downloads
Best Regards,
8Theme’s Team
sure will do
Dear Anas,
As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?
Click here to share your valuable perspective: https://themeforest.net/downloads
Your time and trust are highly appreciated!
Best Regards,
The 8Theme Team
The issue related to '‘Default to Alphabetical order on mobile hamburger menu category section’' has been successfully resolved, and the topic is now closed for further responses