1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Theme Builder - Categories & Subcategories Problem

Discussion in 'Free Divi Community Forum' started by Coatsy35, Apr 12, 2020.

  1. Coatsy35

    Coatsy35 New Member

    Hi all,

    Please be gentle on me! On my Divi driven WooCommerce website, I have various page overrides using Divi Theme builder which all work perfectly, apart from one - the shop page. I have my site set to show categories on the main shop page and to show subcategories on category pages - this works fine on the default "shop" page.

    Now if I redesign my page and set it to replace shop, I can't seem to get sub categories to work. If I take a basic page and put a shop module in the page to display the selected category and set it to replace "shop", it shows all products, not categories. If I create another page the same and set it to replace a "Specific product category page" it also just shows products and not sub categories.

    If I turn the divi theme off for the shop page and revert back to my wordpress standard shop page, it works fine i.e. show categories and when I press on a category, it then shows me sub categories and when I press on that, it shows me the products in the subcategory, however not in the style and layout I like, hence wanting to resign this final page with divi.

    What am I doing wrong? what shortcodes should I be using instead of placing a show module on the page? I have tried [product_categories parent="0"] in a text module instead of the shop module and this just shows all the categories on the site but when you click on them it just shows them again.

    Can anyone tell me the correct sequence to make a set of divi theme pages to make this work? I'm at my wits end with it as it's the only thing I cannot fathom out!

    Any help gratefully appreciated.

    Dan
     
    Pat and Jane Shakespeare like this.
    1. PRO MEMBER PERKS Divi Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Are you referring to Divi Theme Builder? See screenshot below:

    upload_2020-4-13_17-39-15.png

    I just tested it & add a new shop module in the Divi Theme Builder body content & set it to show certain category & it works fine.

    upload_2020-4-13_17-42-43.png

    Is that not the case for you? What about try to update Divi & Wordpress to the latest version & clear your cache & see if it works.
     
  3. Coatsy35

    Coatsy35 New Member


    I'm not sure you've actually ready my question. It has nothing to do with showing products in a category!

    What I want to happen is show the product categories in a grid and then when I click on a category it shows the subcategory grid, and when I click on that it shows the products in the category. Just like it does with Divi Theme Builder turned off for shop and the site is set to show categories.
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add more varieties for your Divi header (12 premade styles) + menu hover effects:Learn More
  4. Coatsy35

    Coatsy35 New Member

    I've made a picture to try and explain it better, this behaviour just happens with the default shop page, no need to do anything. What I need to know is how to configure a divi page to do the same.

    Website Category Example.PNG
     
    Pat likes this.
  5. Divi.Help

    Divi.Help Administrator
    Staff Member

    Misunderstood earlier.

    Seems like Divi itself doesn't have module for the Woocommerce categories.

    You will need to use shortcode in text module as what you mentioned: [product_categories number="0" parent="0"]

    But the problem is for each child category, you will need to use Divi Theme Builder to set a custom template for each child category. This is because you will need to tweak the shortcode to just display the child category [product_categories parent="8"]

    I'm not aware of any other easier way to achieve that.

    You may try to refer official Divi support about it & see what they say: https://www.elegantthemes.com/members-area/help/
     
    1. PRO MEMBER PERKS Divi Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements:Learn More
  6. Coatsy35

    Coatsy35 New Member

    Indeed. It is a shame but I think you are right. Oh well, perhaps at some point they will release a category module. I don't want to have to make seperate template for each category as that would be quite tedious.
     
  7. Divi.Help

    Divi.Help Administrator
    Staff Member

    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  8. Celine See

    Celine See New Member

    Hello :) I struggle with the exact same problem. Is there already a better solution?
    I really need to structure my WooCommerce shop with the subcategories and I can't display them within the divi builder..:(
     
    Pat likes this.
  9. hectoriko

    hectoriko New Member

    1. PRO MEMBER PERKS Divi.Help One-Page Layouts - Beautifully crafted one-page Divi layouts just for you:View All Layouts
  10. Bart Krysa

    Bart Krysa New Member

    I think I made it to work...I've added "Post Content" module along with the "Shop" in the Theme Builder for "All Product Category Pages". In the "Shop" module settings I selected "Product View Type": default and "Use current Page": Yes.
     

    Attached Files:

    Krill likes this.
  11. Krill

    Krill New Member

    It works! Thank you.
    Divi > Theme builder > All category page > Costum body > Edit
    Click on "Shop" module > Module Settings > Contents > Use current page ? > Set to Yes

    No "Post Content" module or any other new module needed.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  12. Thomas BELLANGER

    Thomas BELLANGER New Member

    Hello Guys,
    i tried this Divi > Theme builder > All category page > Costum body > Edit
    Click on "Shop" module > Module Settings > Contents > Use current page ? > Set to Yes
    but didn't work for me it's display product instead of subcategory
     
  13. lordimac

    lordimac New Member

    Same for me. That does not work! The plugin mentioned on GitHub is nice, but doesn't allow full customization like hover on image. It would be great if there is any solution for displaying the categories and sub-categories like Coatsy35 mentioned in his picture above.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  14. Charles E Haluska

    Charles E Haluska New Member

    Has there been any progress on this? I just bought this template and this is really annoying. I love everything else. Is there a refund period on this template?
     
  15. Jane Shakespeare

    Jane Shakespeare New Member

    Hi, did anyone ever find a solution to this? I've customised the product category page in divi builder but it lists all the products under a category and not the subcategories that I want to list, as it does in the woocommerce default product category page. I just don't like this layout.
     
    Pat likes this.
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  16. Pat

    Pat New Member

    Same problem for me, not way to list only child categories for a category and having special layout with Them Builder.
    Any news ? Or should I find a new theme ?
     
  17. Neal Ghoshal

    Neal Ghoshal New Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade mega menu design for your Divi site without using any plugins:View Demo