ritarnab
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Product category in WooCommerceHi everyone
Today I’ve spent a lot of time trying to figure out how this should be solved.I came up with one solution, and that is I can not use Divi editor. The Divi design breaks all connections to product categories.
Thats a shame I think. Earlier, (before I started the topic on this forum), I was in contact with the Divi-support with this topic, but they reffered me here.
I have solved the problem, not exactly the way I wanted, but I solved it.
Now I use css code to design my category pages.Thank’s for all help and your engagement.
Forum: Plugins
In reply to: [WooCommerce] Product category in WooCommerceHi Saif
Thanks for your answer. I don’t think it has to do with either the widget sidebar (Bellows Accordion Menu) or the Display type.
I found out that It might has to do with the Divi theme.
In the Theme builder, where you manage the templates I have discovered that Divi force to preset/assign each template page.
https://snipboard.io/S3JF08.jpghttps://snipboard.io/XYmkOJ.jpg
When I choose a preset/assign called “All product category pages” the sidebar will display, but then ALL categories in the main area displays.
If I instead choose preset/assign like “All products” the sidebar dissapear, but the categories work as they should.
You can look at this example online https://skiss.entrax.se/produkter/I can’t understand why this feature so difficult to manage. As I said earlier, this is a common feature on the web. Here’s a website (not WhooCommerce) with exactly the feature I’m looking for.
https://qpax.se/sv/bilmodell/?twsListGroup-article-groups=g-position-a-24-1- This reply was modified 3 years, 2 months ago by ritarnab.
Forum: Plugins
In reply to: [WooCommerce] Product category in WooCommerceHi Saif, and thanks for your reply.
I will try to explain it again.
Take a look at the link to the site I’m working on
https://skiss.entrax.se/product-category/maskin/
The sidebar menu is built by product categories and its subcategories. Allso the main area contains product categories and its subcategories.
For the moment you can choose either to click on the sidebar or in the main area window and both is working fine.
What I want is that only the active categories displays in the main area window.
For example;- At start you should only see the first three categories (both in in the sidebar and in the main area window):
MASKIN
TILLBEHÖR
LAMPOR - Then when you choose;
MASKIN, it will open that catecory and display (both in in the sidebar and in the main area window):
CAT
DOOSAN
HITACHI - Then when you choose;
CAT, it will open that catecory and display (both in in the sidebar and in the main area window):
BANDGRÄVARE
HJULGRÄVARE
etc, etc
It all works fine with the clicking on each category, the problem is that the main area window displays all categories and subcategories. I know it is possible to filter with parent=”0″ or parent=”id”, but I don’t like that solution beccause it will be tons of id-s and not suitable for a template.
The best solution would be a shortcode like the examples in my first post like,
parent=”show_active_category”