Support » Plugin: MarketPress - WordPress eCommerce » Category Widget

  • Resolved JungleTech

    (@jungletech)


    Is there any way to have the widget only show main categories until you click one then show all the sub categories under it? So:

    Start at:
    Category A
    Category B

    And show:
    Category A
    Sub A1
    Sub A2
    Category B

    When you click on category A.

    This does not need to be ajax. It can reload the page showing you all products in A, but allow you to narrow down your search results.

    https://wordpress.org/plugins/wordpress-ecommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • David

    (@ugotsta)

    WPMU DEV Support Staff

    Hi @jungletech,

    Thanks for your question.

    It would’t work that way by default with the categories directly, but as a workaround, you could create regular Pages representing categories then use the category shortcodes to display the

    Page Category 1
    [mp_list_products category=”category1″]

    Page Category 2
    [mp_list_products category=”category2″]

    Or if you’re comfortable digging into code, you could use the following to see how to create custom template files for custom category listings:
    http://premium.wpmudev.org/blog/the-easy-guide-to-theming-marketpress/

    Hope that helps!

    Cheers,
    Davd

    I managed to find a plugin that does exactly what is needed, and supports custom taxonomy. That plugin is Collapsing Categories.

    Thanks

    David

    (@ugotsta)

    WPMU DEV Support Staff

    Hi @jungletech,

    Awesome! Sorry, I just didn’t even think to mention other plugin possibilities! But I also sorta forgot about that plugin (I’ve used it in the past).

    Glad you found that and thanks for posting it. 🙂

    Cheers,
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Category Widget’ is closed to new replies.