Making woocommerce product gallery autoplay
As usual add it to your functions.php and adjust as needed
As usual add it to your functions.php and adjust as needed
While optimizing our MySQL server we noticed our mysqld.log was huge in size – 1GB+ – and it was filling every moment with the below message: [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ”mysql_native_password’ is deprecated and will be removed in a future release. Please use caching_sha2_password instead’ Below article explains the issue https://support.cpanel.net/hc/en-us/articles/16550190886935-MySQL-log-warning-mysql-native-password-is-deprecated-and-will-be-removed-in-a-future-release But it…
We added a loop grid and a taxonomy filter for our products but when clicked on any filter – product tag in our case – there was no results. Query monitor gave the error : Unknown column ‘t.term_order’ in ‘order clause’ But the default wp _terms table did not have a term_order column anyway. So…
We wanted to display product variations as selectable boxes rather than dropdown / select. So we needed to use a modified variable.php to modify the variations form accordingly under: /public_html/wp-content/themes/child-theme/woocommerce/single-product/add-to-cart/variable.php We thought a WC template file under child theme would work for sure in terms of hierarchy it should override wc default and the parent…
Here is the script its pretty self-explanatory on its own. Will expand on it later
As usual add this code to your functions.php Filtering only featured products comes in handy in several scenarios especially reordering them
In order to optimize Apache’s configuration we needed “Average and Peak Number of Concurrent Connections” but we didn’t have an external software like Prometheus or Zabbix to record and analyze historical data. So we needed to find a way with what we had at hand. First comes to mind: Daily Process Log in WHM: This…