neon101
Forum Replies Created
-
ok great, thank you. I’ve updated and the error has gone now.
Forum: Plugins
In reply to: [WooCommerce] Product category widgetAh I can’t write the code for you, as I don’t know your system setup.
I just posted that to demonstrate the kind of CSS needed to show and hide the information effectively. Hope it gives you a steer.
Forum: Plugins
In reply to: [WooCommerce] Product category widgetI’ve just realised there is a really simple way to do this using css with only ‘show hierarchy’ enabled in the widget and css like this:
.woocommerce #woocommerce_product_categories-2 ul.product-categories > li.cat-item:not(.current-cat):not(.current-cat-parent) { display: none }
Hope this helps @fellter2
- This reply was modified 3 years, 10 months ago by neon101.
We have a similar error, where after an update a few days ago the wp-admin ‘Pages’ page (wp-admin/edit.php?post_type=page) is totally blank too.
I get the following fatal errors:
[21-Apr-2021 09:19:19 UTC] PHP Fatal error: Out of memory (allocated 157810688) (tried to allocate 180224 bytes) in /home/cluster-sites/14791/s/suttles.co.uk/public_html/wp-includes/class.wp-scripts.php on line 512 [21-Apr-2021 09:19:19 UTC] PHP Fatal error: Out of memory (allocated 157810688) (tried to allocate 286720 bytes) in /home/cluster-sites/14791/s/suttles.co.uk/public_html/wp-includes/functions.php on line 4757
The website memory limit is 512MB and is running WooCommerce.
Disabling this plugin removes the problem, I’ll revert back to the previous version and disable autoupdates for the time being.
Please can you advise.
Many thanks
- This reply was modified 3 years, 10 months ago by neon101.
Forum: Plugins
In reply to: [WooCommerce] Product category widgetIt feels as though the code is in widgets/class-wc-widget-product-categories.php around line 180 and needs reworking, is there any documentation available on modifying code such as this?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Product category widgetHi There
I also need this functionality, I have level 1 product category navigation in my header.
When a user selects a level 1 category they see level 2 categories displayed in the Product Category widget. However, when they go to a level 2 category, the widget displays nothing. Best practice would be to show them the level 2 category they are in and its siblings.
Many thanks
Forum: Plugins
In reply to: [WooCommerce] Does product_images folder work with native csv importer tool?Ok that’s great, thanks for checking this for me.