Default to Alphabetical order on mobile hamburger menu category section

This topic has 8 replies, 5 voices, and was last updated 1 months, 3 weeks ago ago by Andrew Mitchell

  • Avatar: Anas
    Anas
    Participant
    September 2, 2024 at 09:10

    hi team, I need to set the category section to Alphabetical order on mobile hamburger menu category section.

    screenshot attached

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    7 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    September 2, 2024 at 09:25

    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

    Avatar: Anas
    Anas
    Participant
    September 2, 2024 at 09:39

    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

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 2, 2024 at 13:48

    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

    Avatar: Anas
    Anas
    Participant
    September 3, 2024 at 09:16

    hi jack, thats great. this is what i wanted. thank you so much

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 3, 2024 at 10:14

    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

    Avatar: Anas
    Anas
    Participant
    September 4, 2024 at 14:27

    sure will do

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 4, 2024 at 14:27

    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

  • Viewing 8 results - 1 through 8 (of 8 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.