- This topic has 11 replies, 3 voices, and was last updated 1 month, 2 weeks ago by Leo.
August 3, 2020 at 11:38 am #1386152Adedoyin
Hi there, I’m using the PRIME woocommerce theme and I’m currently having issues with new product categories. It is not displaying any product using the woocermerce short codes.
Basically I created a new category page then set it up with the shortcode to display products for that categories. But its not working and I made sure I add a product to the product category.
I don’t have an cache plugin installed and I have tried everything else nothing seem to work. Quite frustrating! I’m on localhost by the way.August 3, 2020 at 11:44 am #1386164DavidStaffCustomer Support
are the products in that Category published?
If an issue can you share a link to your site. You can do so privately by editing the original topic and using the Site URL Field. And we’ll take a look.August 3, 2020 at 11:48 am #1386175Adedoyin
Yes the products are published. Well the website is still on localhost. I have not uploaded yet. But what is the cause of this please. Though I have a redirection plugin that seem to cache the links just disabled that but its not working.
However, you need to know that one category is working fine displaying products. Only new categories I creating seem not to be picking the product I added to the categories. cache? Can’t find any cache plugins here. I’m confused right nowAugust 3, 2020 at 11:53 am #1386185LeoStaffCustomer Support
It’s really hard to tell if we can’t see the issue live.
The theme itself doesn’t handle things like this as well as it’s all handled by WooCommerce.
I would recommend disabling all plugins to eliminate any conflicts first.August 3, 2020 at 11:58 am #1386190Adedoyin
This is the code I’m using
[products limit=”6″ columns=”3″ category=”category” orderby=”id” order=”DESC” paginate=”true”]
This works for the first category I said works fine. Even without categories it works fine. But I created two new category. Added product to it. But its not working. I just disable the plugins no changes stillAugust 3, 2020 at 12:03 pm #1386194LeoStaffCustomer Support
Did you replace
category="category"with the name of the actual category?
And make sure you are actually using the right quotation mark
If not can you try a simpler shortcode like this?
https://docs.woocommerce.com/document/woocommerce-shortcodes/#scenario-5-specific-categoriesAugust 3, 2020 at 12:13 pm #1386202Adedoyin
Yes, of course, I did put the actual category. I tried using the category default pages for the new cateogries. That works fine. But really need to do custom pages. So we can say the problems lie within the new pages probably the shortcode.
So I tried something else. Loading the product category directly on the page and I got this error “Error loading block: Invalid parameter(s): attributes”August 3, 2020 at 12:22 pm #1386212LeoStaffCustomer SupportAugust 3, 2020 at 12:36 pm #1386233Adedoyin
cache my friend. Cache 😉August 3, 2020 at 12:38 pm #1386235LeoStaffCustomer SupportAugust 3, 2020 at 12:41 pm #1386240Adedoyin
YeahAugust 3, 2020 at 12:43 pm #1386242
- You must be logged in to reply to this topic.