Different navigation menu based on URL - by envatonly envatinonly

This topic has 6 replies, 3 voices, and was last updated 6 years, 4 months ago ago by Rose Tyler

  • Avatar: envatonly_envatinonly
    envatonly envatinonly
    Participant
    July 29, 2019 at 10:12

    Hello team,

    What sort of modification should I do in order to have a different navigation bar according to URL.

    So, for example, the navigation bar is Clothing, Shoes, Tops etc…

    But this is applied universally. How to make the below adjustment.

    When someone is on the URL domain.com/women the navigation bar be only for women related products.

    When someone is on the URL domain.com/men the navigation bar be only for men related products.

    Thank you so much, I kindly wait for your response

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    July 29, 2019 at 12:01

    Hello,

    Our theme includes the option to choose custom navigation for the simple page only http://prntscr.com/olfxhw Unfortunately there is no such option for the product category.
    If you want to implement it also for the product category it requires additional customization. Submit customization request here because it’s not included in basic support.

    Regards

    Avatar: envatonly_envatinonly
    envatonly envatinonly
    Participant
    August 2, 2019 at 06:45

    Hi Olga 🙂

    Well, how can we add custom navigation bar to a product page?

    Just let me know which .php files to look at in order to copy the snippet from the custom Page and paste it to the Product Page.

    If doesn’t work like that, please guide me through the process in order to get clear instructions to my developer. Which files should pay attention to.

    Final goal: To put custom navbar not only on Custom Pages but also in the Product Pages. Thank you 🙂

    PS. review on envato -> done

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 2, 2019 at 15:04

    Hello,

    xstore/framework/custom-metaboxes.php, etheme_base_metaboxes function, add the product to the array http://prntscr.com/onhywt
    Do all the changes in the child theme to avoid losing them after the next update.

    Regards

    Avatar: envatonly_envatinonly
    envatonly envatinonly
    Participant
    August 3, 2019 at 07:43

    Thank you so so much,

    Wee can mark it as solved

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 3, 2019 at 07:58

    You’re welcome!

    Regards

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

The issue related to '‘Different navigation menu based on URL’' has been successfully resolved, and the topic is now closed for further responses

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