Urgent please!

wsthff asked 1 month ago

FWW plugin: when i select a category from the main menu - i arrive to a category page, for example, women jackets. The url is correct, its /women/clothing/jackets/, but the filter for category opens up on a wrong category - it opens up on men jackets. Please see the screenshot.

Do you know what might be the problem?

https://ibb.co/tqBhc7m

Thanks

Dave H. Staff replied 1 month ago

Which version?

Neo n. replied 1 month ago

3.18

Neo n. replied 1 month ago

but I also had it with 3.16 and 3.17 versions

1 Answers
Dave Hilditch Staff answered 1 month ago

I’ve created a Trello card for this here and I’ve managed to reproduce the problem. I think this was introduced in 3.15 or something, but – if you need an urgent workaround for now please untick the option to ‘remove /product-category/ from the URL’.

I’ll get a fix out for this ASAP.

https://trello.com/c/mcmMLJiC/227-customer-reported-wrong-category-being-identified-with-product-category-removed

Dave H. Staff replied 1 month ago

Neo – can you please add more content to the Trello card? WordPress does not natively allow non-unique slugs, so I’m guessing you must be using a permalink manager plugin of some sort?

e.g. if I create a 2nd category called Jeans under /women/ when I already have /mens/jeans/ then wordpress creates the category slug as /women/jeans-women/

My plugin will have to be updated to work with whichever permalink manager you are using. Please update the trello card to help me figure this out.

Dave H. Staff replied 1 month ago

Also – if you could please contact me through Discord (link in your account area) and provide me with SFTP access, that would help a lot in debugging how your permalink manager is working.

Neo n. replied 1 month ago

Hi there, sorry for the late reply.
1. I’m guessing you must be using a permalink manager plugin of some sort? -yes, I am using permalink manager pro for showing nice category urls
2. e.g. if I create a 2nd category called Jeans under /women/ when I already have /mens/jeans/ then wordpress creates the category slug as /women/jeans-women/
thats correct, but it doesnt look clean, so I use permalink manager pro to make slugs look like this: instead of /women/jeans-women/ they look like /women/jeans/
I think thats where the problem appears with the FWW.

3.

Neo n. replied 1 month ago

Also – if you could please contact me through Discord (link in your account area) and provide me with SFTP access… – where exactly should I leave the sftp access data?

Neo n. replied 4 weeks ago

Hi Dave,
I contacted the permalink manager pro developer and this is what he wrote:
Unfortunately, I will not be able to solve this issue :/ Most probably, the source of the problem is in the fact that Faster Woo Widgets parses the categories’ slugs directly from URL to use them as filters, eg.:
https://www.n2315.com/men/jewellery/ ==> jewellery

In your current URL configuration same of the slugs are duplicated, eg.:
https://www.n2315.com/men/jewellery/ & https://www.n2315.com/women/jewellery/
https://www.n2315.com/men/shoes/ & https://www.n2315.com/women/shoes/

You will either need to change the categories’ slugs to make each of them unique, eg.
https://www.n2315.com/men/jewellery/ & https://www.n2315.com/women/jewellery-2/
https://www.n2315.com/men/shoes/ & https://www.n2315.com/women/shoes-2/
or contact Faster Woo Widgets to check if it is possible to make it working with duplicated slugs.

Dave H. Staff replied 4 weeks ago

Hi – if you message me directly on Discord you can send access there. Also, you can create a private answer onto this question if you wish with acess details.

Thank you for letting me know this is using Permalink Manager Pro. I’ll get a solution figured out for you for this.

Neo n. replied 4 weeks ago

Great! I am really looking forward to it.

Neo n. replied 2 weeks ago

Hi Dave, is there any news on a solution? Thanks!

Dave H. Staff replied 2 weeks ago

Hi – sorry – no progress yet. Been working on bug fixes for FWW first. It should be done in November. Sorry about this extended delay but I will make it compatible with Permalink Manager Pro as soon as I can. It should be very early November so about 3 or 4 weeks away.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.