It’s possible to use wc_get_template filter to quickly remove unwanted template parts from WooCommerce templates. This is a single filter that works for all template parts, so you don’t need to look for exact ‘remove_filter’ …
Continue ReadingFilter products from WooCommerce product search input
I had an issue that sometimes users are selecting wrong variation on order screen when manually adding orders in WooCommerce. When searching for products, search filter is returning variable product and all of his variations. …
Continue ReadingHow to debug wp_mail function
wp_mail function returns ‘1’ if mail is sent, and 0 if mail is not sent but shows no debug info. Following function will display array of errors, if any.
Continue ReadingHow to enable gallery in WooCommerce 3.0
Snippet for enabling new gallery that comes with new version of WooCommerce 3.0. Add this snippet to your functions.php if your gallery is not visible.
Continue ReadingAdd Wistia videos oEmbed support to WordPress
Wistia is not on the list of supported websites, but it looks like it’s becoming popular. This snippet will add support for WordPress oEmbed, works with ACF oEmebed field too. How to play video via …
Continue Reading