Re-install layered nav widget
-
Hi
I have stupidly deleted (not just put in the Inactive area) the Woocommerce layered nav widgets. Is there any way I can re-install them? Please?Thanks
PS – apologies if my question shows a complete ignorance of how widgets are built into a plugin . . .
-
Hi @petebm,
To restore any files you have deleted from within the WooCommerce plugin folder on your site you can download a fresh copy of WooCommerce from below.
https://wordpress.org/plugins/woocommerce/
Next unzip the package and upload the extracted folder to your sites
/wp-content/directory via FTP overwriting the existing/woocommerce/plugin folder. This process will restore all of the default WooCommerce plugin files for you including the widgets you have deleted.It’s worth also worth noting that in more recent versions of WooCommerce the Layered Navigation widgets have changed the name and you can locate this in the widget Filter Products by Attribute etc and you may have mistaken that change as the widgets being missing or deleted.
Ah . . . thank you both. Yes, I saw the Filter Products by Attribute widget & wondered why that was there since it wasn’t from any of the custom search plugins that I’d tried. Nevertheless, I gave thanks for making mods to Woocommerce files in a separate folder in a child theme, & re-copied all the source files back in, in case I really was missing anything, and found there still wasn’t a Filter Products by Category widget – nor can I find mention of one in the page https://docs.woocommerce.com/document/woocommerce-widgets/. I’d like to have both category and attribute filters available for users.
I can’t see that you can use categories in any of the other filters; I’ve already got Category as a menu item so users can start their filtering there if necessary, then move to attributes in the sidebar, but it’d be nice to have all the filtering in one area. At the moment I’m using Themify’s Product Filter (https://imgur.com/a/5C3N5) but I’d like to make sure I couldn’t use native Woocommerce widgets.
Thanks again
-
This reply was modified 8 years, 6 months ago by
petebm.
Hey @petebm,
Currently, there are only three filter widgets available by default in WooCommerce which can be used for Attributes, Price and Ratings. There is, however, no category filter widget and the only widget for Categories is the default product Category Widget.
If you have found that using the Themify Product Filter is working for your purpose I would continue using that on your site if it’s working out for you.
I hope this helps.
Thank you @stuartduff, that is helpful. Copying all the files on my local install has given me those three widgets, but without the Category one I may well stick to the Themify plugin.
However, after ftp-ing the files up to my live site, I’m still missing the Filter by Product Rating widget, which doesn’t matter if I’m going to carry on using Themify, but is a puzzle nevertheless. I’ve checked the timestamp on the remote files & they’ve definitely been replaced; it’s also a shame as I was hoping a new set of files would cure my missing basket flyout problem (https://wordpress.org/support/topic/wheres-this-basket-flyout-come-from/#post-9664008), & it hasn’t. I tried deactivating Woocommerce, & re-activating it.
Don’t suppose you have any idea why uploading a new set of files hasn’t done the trick, either with the widget or the flyout?
Thank you
-
This reply was modified 8 years, 6 months ago by
The topic ‘Re-install layered nav widget’ is closed to new replies.