Content of the page

Using REST API with woocommerce currency switcher


From plugin version 2.2.9/1.2.9 appeared possibility to use in-built REST request to get site currencies data: wp-json/woocs/v3/currency

Also WOOCS allows using its API create any custom REST requests, as an example below which allows to get all shop products prices in all its currencies (wp-json/woocs/v3/products/gbp): (add next code into the file functions.php of the current wordpress theme)

 

WOOT - WooCommerce Active Products Tables