How do I add product cateogy boxes at the top of my page

7 replies3 participantsUpdated by Jack Richardson

  • Avatar: Rich Kil
    Rich Kil
    Participant

    I want to add specific categories at the top of my page. See “choose type” in photo attachment

    Files is visible for topic creator and
    support staff only.

    7 Answers

    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff
    Avatar: Rich Kil
    Rich Kil
    Participant

    I went through and saw the template that I’d like. My question is can I choose different subcategories for multiple pages or will they stay the same through out the website? Example of my subcategories are

    https://ultimaterestaurantequipment.com/product-category/stainless-steel-tables/stainless-steel-work-tables/

    I want to install these specific subcategory pages. I only saw a widget to install main categories.

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @Rich Kil,

    You can select any category in this widget to display static items (https://gyazo.com/6853e7509839032cc55a311bcdf727d2). Please note that subcategories are not displayed in this widget by default. To enable their display, add the following snippet to your child theme’s functions.php file:

    add_filter('etheme_dynamic_categories_top_level_only', '__return_false');
    (https://prnt.sc/kuiKbkqe-eXC).

    You can find more details about this widget in the following post: https://www.8theme.com/topic/the-category-photo-donot-show-properly-in-shop-page/#post-464515.

    If you need our assistance or have any other questions, please feel free to submit them on our support forum, and our support managers will be glad to help you.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Rich Kil
    Rich Kil
    Participant

    Where can I access my child theme’s functions.php file:

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @Rich Kil,

    You can access your child-theme/functions.php file by navigating to your WordPress dashboard and going to “Appearance > Theme File Editor”, then selecting your child theme from the dropdown menu. You will find the “functions.php” file listed on the right-hand side.

    Alternatively, you can access it via FTP or your hosting file manager by opening the folder:
    “/wp-content/themes/xstore-child/functions.php”

    Best Regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Rich Kil
    Rich Kil
    Participant

    Can I choose different subcategory widgets for individual product category pages or will they be the same throughout the website?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @Rich Kil,

    This widget displays a list of all categories on the main product archive pages. On product category archive pages, it shows the child categories of the current category if any exist; otherwise, it lists the main product categories.

    If you set the data source of this widget to display categories by ID, only the categories you have configured will be shown. When the “All Categories” option is selected, the categories will be displayed dynamically as described above.

    If you would like to manually set custom categories to display in this widget, you can create multiple product archive templates with different content and widget settings.

    For more details about these templates, please visit: https://www.8theme.com/documentation/xstore/xstore-builders/xstore-products-archive-builder-with-elementor/

    Documentation about template conditions can be found here: https://elementor.com/help/product-archives-site-part/

    Best regards,
    Jack Richardson
    The 8Theme’s Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register