danielaromeo
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Hierachy messed up in dropdown filterHello YITH,
that is the same link you sent me in the previous post. I had already added that code, but it didn’t work.
Please let me know if I can do something else.Thank you.
DanielaForum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Hierachy messed up in dropdown filterHi YITH,
thank you for your reply.
After the upgrade to WooCommerce 3.0.x, I noticed the hierarchy was no longer in WP admin WC attributes page, so I overwrote the following file in my child theme for WooCommerce: https://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-post-types.php#L193 , changing “false” to “true” and that did the trick.
Now I removed it and added the code you sent me in functions.php file, but the hierarchy is always messed up.
Anyway, the issue was there even before the upgrade to WC 3.0.x, the problem arised when upgrading your plugin to v3.3.1, it was working with older v.2.9.2.
I’ve also seen this topic: https://www.ads-software.com/support/topic/filters-labels-order/ . As all our subitems labels start with a “>”, and alphabetically, it comes first than any alphanumeric char, I tried removing the “>” char, but the subitem is just shown at the bottom of all the subitems, but not under the correct parent.
I hope all the above information could help you understanding what the cause could be.Thank you!
Daniela- This reply was modified 7 years, 10 months ago by danielaromeo.
- This reply was modified 7 years, 10 months ago by danielaromeo.
Hi pavloborysenko,
I tried to deactivate all of the plugins (then reactivated them one by one), to see if WPML was the issue, but the filter keeps doing that even when WPML is not activated.
This happened after the upgrade to WooCommerce 3.x . Could that be the issue?
Regarding duplicating the website and use those settings, it doesn’t make sense for us. We won’t never use that configuration for WPML, so, even if it works, we won’t be able to modify the production website to work like that.
If it could be useful to understand the cause of the issue for you, we will be glad to send you a copy of our environment, in order to let you test it.Please let us know in case where we can send it.
Thank you,
DanielaHi pavloborysenko,
unfortunately we can’t do that. The website is live and we have many visitors.
Is there anything else we can do to solve the issue?Thank you very much!
Daniela
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Hierachy messed up in dropdown filterHi YITH,
thank you for your reply.
Here is the screenshot: https://www.awesomescreenshot.com/image/2456967/1894465b462fde1247693d6683b62489
Please let me know if you need anything else to test.Thank you!
DanielaHi pavloborysenko,
we tried to disable that, but it’s still not working.Thanks,
DanielaHello pavloborysenko,
thank you for your reply.
The cache is already disabled, you can check the error here: https://www.bbt-benatti.it/ .
This is the Italian version of the website, so you can test the issue (if you are redirected to the .com domain, you can find the language switcher on the top right. Please select Italiano to see the issue).
To see the filter, hover with the mouse on “Prodotti” menu item and click on the button “RICERCA VELOCE”. Then select something from “MARCA” dropdown and you’ll see that the filter resets to English. Then, if you select something from “BRAND” dropwdown, you’ll see the first sub-category dropdown. If you select something from there, a third sub-category dropdown will appear.
The 2 dropdowns below the first 3 are product attributes, not categories.Thank you for your help!
Daniela
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Filter not working in categoriesHi YITH,
we’ve been able to solve the issue finally along with WPML support team.
We had another plugin installed called “WooCommerce Products Filter”, that was causing the issue with WPML and your plugin. We removed it and everything worked well!Thank you for your support!
Have a nice day,
DanielaForum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Filter not working in categoriesHi YITH,
I finally did all the tests you suggested and there seems to be a conflict with WPML plugins. If I disable all of them, the filter is working properly.
Please let me know if there’s a way to solve this, I cannot turn off WPML on my website.Thank you,
DanielaForum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Filter not working in categoriesHello YITH,
thank you for the reply.
I checked the CSS configuration and it’s fine, my theme does not change the main WC classes in the code.
I also followed steps 2, 3 and 4 (and then 2 and 3 again).
Regarding step 1, I have WC 2.6.11 and the most updated version is 2.6.14, so I don’t understand what is the 3.0.6 version you’re talking about. Regarding YITH plugin, I have version 3.1.0 and cannot update to the latest one, because there’s a bug in the hierarchical dropdown, items are listed alphabetically and the hierarchy is completely messed up.
I checked sidebar registration in the theme and it’s correct. Anyway, I use this code to embed the filter in the page: <?php echo do_shortcode(‘[widgets_on_pages id=”filter”]’); ?> in archive-product.php template of the theme (child theme developed by me).
Nothing worked, the filter is not working when inside a category.
I hope the additional information I sent you could be useful to understand what I must fix in order to make it work.Thank you,
DanielaForum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Filter not working in categoriesHello,
this is becoming urgent, could you please tell me how can I fix it?Thank you,
Daniela