Content of the page

Is it possible that delivery country change the currency?

Yes, in the functions.php file of the current wp theme of the site add the next code:

  Do not forget to set in tab “GeoIP rules” currency rules for countries as that rules uses in the billing on the script above Customer request: Is it possible that Delivercountry change the Curreny? Deliver to… read more

How to adapt woocommerce reports by date for currency switcher

WooCommerce Currency Switcher cant by default work with WooCommerce reports as there is no hooks there, and its not possible to plug-in there. But after some investigations of woocommerce code I found 1 way how to adapt reports for orders with different currencies (works only for Reports->Orders->”Sales by date”): open file wp-content\plugins\woocommerce\includes\admin\reports\class-wc-admin-report.php find there public… read more

Switch currency with language change

WPML: open functions.php of your current wp theme drop there next PHP code:

See WPML docs about languages codes Polylang: open functions.php of your current wp theme drop there next PHP code: See Polylang docs about languages codes    

How to force any currency on the checkout page

Sometimes its necessary force on checkout page any currency by logic of business. open functions.php of the current wp theme and drop there next script:

Change ‘USD’ to any currency you need … Notice: works only when “Is multiple allowed” option is enabled (Yes).  

How to to display the text “Call for Price” when the price is 0 or blank

Next code will do the job: