WordPress: WooCommerce: Add a custom currency / symbol


To add a custom currency paste this code in your theme functions.php file or in a complementary plugin for WooCommerce and swap out the currency code and symbol with your own. After doing so it will be available from WooCommerce settings. add_filter( 'woocommerce_currencies', 'add_my_currency' ); function add_my_currency( $currencies ) { $currencies['ABC'] = __( 'Currency name', 'woocommerce' ); return … Continue reading WordPress: WooCommerce: Add a custom currency / symbol

WordPress: WooCommerce plugin: How to Override WooCommerce Template File Within a Plugin


Override WooCommerce Template File Within a Plugin The goal of this article is to describe one approach to overriding WooCommerce core template files within a custom plugin, such that they can still beoverridden by a theme in the typical way. Note that this is similar to but solves a slightly different problem than what we did to create a custom … Continue reading WordPress: WooCommerce plugin: How to Override WooCommerce Template File Within a Plugin