• Resolved molliejtk

    (@molliejtk)


    Hi,

    How could I have the link or button to return back to prior top level (main / parent) category on any subcategory pages?

    Any codes or suggestion on this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Kenin

    (@kbassart)

    Automattic Happiness Engineer

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the following places for more development-oriented questions:

    1. WooCommerce Slack Community: https://woocommerce.com/community-slack/
    2. Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
    Thread Starter molliejtk

    (@molliejtk)

    Thank you !!!!
    I’m looking forward to seeing any related solutions !

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @molliejtk By default the parent category should be listed in the breadcrumbs at the top of the page:


    Link to image: https://cld.wthms.co/Ez0HdY

    Thread Starter molliejtk

    (@molliejtk)

    Thank you for your reply.

    The breadcrumbs on top would definitely be helpful, but could we also set any custom code or function to add something like — a button for returning back to only prior-level of that product category as well?

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @molliejtk It could be done, yes, but it’s not something as a simple snippet. It would need to test to see if it’s a product in a category with a parent, then it would need to output the link and styling where needed. The code would probably also need to be added to your theme.

    So, as Kenin mentioned before, this is more of a development topic and you might receive help from a volunteer here, or you may need to look elsewhere for more specific assistance.

    Thread Starter molliejtk

    (@molliejtk)

    I see… Thank you so very much for taking sometime to support on this!
    I’ll try finding anyone working on this. Thank a lot.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Back to main (parent) category button on subcategory’ is closed to new replies.