April 24, 2023 at 11:31 am #1405353
I have a site (see private content) where the breadcrumb structure is showing the wrong trail to the product.
Changing the primary category seems to make no difference.
Instead it seems to be showing the last categories I created as the breadcrumb structure.
T-Shirts & Vests
You are here:Home/Shop/Clothing/T-Shirts & Vests/Classic heavyweight ringspun t-shirt
You are here:Home/Shop/Sort by Discount/Discount 3/Classic heavyweight ringspun t-shirt
I think the logic being applied to breadcrumbs is incorrect. It seems to be taking the category that the product was last assigned to as the one to use for the breadcrumbs and I dont know why.
Any help would be appreciated.
Note this is a test server please do not post the URLs.May 2, 2023 at 4:03 pm #1406201
Do you have any modifications on this site? Did you try deactivating all active plugins except for WooCommerce and check if that makes a difference?
I tried to reproduce the issue but editing the product and selecting a new category or selecting a newly created category doesn’t change the breadcrumbs of the single product on my local installation.
Could you let us know the steps if we need to take specific ones to reproduce this issue?
YigitMay 2, 2023 at 6:42 pm #1406243
Really sorry about this – I think it is down to the way the categories are being ordered in the database.
Caused by WPAllImport Plugin.
I think I am going to have to manually re-order the categories in a WooCommerce CSV and re-upload them in the correct order.
Removing all categories and adding them again is still causing them to list in the wrong order in the Category field.
I have no idea why. Even alphabetically the one it is picking shouldnt be the first!
I’ll do some more investigation work. But I now dont think it is caused by Enfold.
If I find anything that would lead me to suspect it is Enfold I’ll share more info on this post.May 2, 2023 at 10:13 pm #1406265
- You must be logged in to reply to this topic.