Asides

  • WooCommerce 3.3 – Hide uncategorized category from the shop page on the frontend

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…

  • Small drop-in plugin to fix double-serialized product attributes (they are no longer double-unserialized in WC Core)

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php /** * Plugin Name: Double serialized attributes fixer * Description: Adds a tool to fix…

  • WooCommerce 3.0 – Disable deferred email sending

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…

  • WooCommerce – Notify admin when a new customer account is created

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…

  • WooCommerce – Hide price suffix when product is not taxable.

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…

  • WooCommerce – Redirect external products offsite (disable single listings)

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…

  • WooCommerce – remove payment method from emails

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…

  • WooCommerce – Hide shipping rates when free shipping is available.

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php /** * Hide shipping rates when free shipping is available. * Updated to support WooCommerce…

  • WooCommerce – Add all upsells of a product to the cart via custom link

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php // Do not include this if already open! /** * Code goes in theme functions.php.…