- This topic has 11 replies, 3 voices, and was last updated 3 years, 7 months ago by Leo.
-
AuthorPosts
-
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 SupportHi there,
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 #1386175AdedoyinYes 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 now
August 3, 2020 at 11:53 am #1386185LeoStaffCustomer SupportIt’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 #1386190AdedoyinThis 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 still
August 3, 2020 at 12:03 pm #1386194LeoStaffCustomer SupportDid 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 #1386202AdedoyinYes, 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 SupportCan you check with WooCommerce support first to see if they’ve seent this issue before?
I would assume the same issue exists if you use a twenty series default theme as well?
August 3, 2020 at 12:36 pm #1386233Adedoyincache my friend. Cache ๐
August 3, 2020 at 12:38 pm #1386235LeoStaffCustomer SupportSo it’s resolved?
August 3, 2020 at 12:41 pm #1386240AdedoyinYeah
August 3, 2020 at 12:43 pm #1386242LeoStaffCustomer SupportGlad to hear.
We do try to mention this ๐
https://www.screencast.com/t/7pFlvF2iLy -
AuthorPosts
- You must be logged in to reply to this topic.