db533
Forum Replies Created
-
Forum: Plugins
In reply to: [WPC Variation Swatches for WooCommerce] Hide unavailable termsI have the same challenge. I’d love to only display the variations that are in stock, but all are displayed. Would be great to have the option to toggle a switch in the plugin settings to “Hide unavailable variations”. @wpclever
I was using the BackWPup script that was giving me the “Allowed memory size of 67108864 bytes exhausted” error.
I fixed the issue by doing the following. I followed the instructions on the following page to determine in which way I am using php:
https://my.bluehost.com/cgi/help/551
For me this was the “PHP Single php.ini” method.Then I followed the following instructions (with the changes detailed below): https://my.bluehost.com/cgi/help/557
The corrections that I made were as follows:
1. Placed the php.ini in the “public_html/” folder, not the “wp-includes/” folder.
2. I used 96M as 64M was my current settings.
3. I did not edit wp-settings.php as it appears to read the settings from wp-config.php
4. I ran wp-config.php and tried to edit it and saw that it contained the line:
define(‘WP_MEMORY_LIMIT’, ’96M’);
(Maybe running wp-config.php was not necessary, I don’t know).Hope this helps.