wpdesk / wc-currency-switchers-integrations
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.4.0
2024-08-02 16:53 UTC
Requires
- php: >=7.0
- psr/container: ^1.0
- psr/log: ^1||^2||^3
- wpdesk/wp-builder: ^2.0
Requires (Dev)
- 10up/wp_mock: *
- mockery/mockery: *
- phpunit/phpunit: ^5
- squizlabs/php_codesniffer: ^3.0.2
- wimg/php-compatibility: ^8
- wp-coding-standards/wpcs: ^0.14.1
This package is auto-updated.
Last update: 2024-10-02 17:24:36 UTC
README
Currency Switchers Integrations
A WordPress library containing interfaces, abstracts and basic implementations to be used for currency switchers plugins and integrations.
Supported switchers
- https://aelia.co/shop/currency-switcher-woocommerce/
- https://wordpress.org/plugins/woo-multi-currency/
- https://wordpress.org/plugins/currency-switcher-woocommerce/
- https://wordpress.org/plugins/woocommerce-currency-switcher/
- https://wordpress.org/plugins/woocommerce-multilingual/
- https://woocommerce.com/products/multi-currency/
Requirements
PHP 7.0 or later.
Installation via Composer
In order to install the bindings via Composer run the following command:
composer require wpdesk/wp-currency-switchers-integrations
Example usage
Integrating the shipping method ( flexible_shipping ) with WooCommerce Multicurrency plugin:
new \WPDesk\WooCommerce\CurrencySwitchers\ShippingIntegrations( 'flexible_shipping' )
Prefixer
In scoper.inc.php file add WOOMC
to the whitelist section:
'whitelist' => [
'\WOOMC\*'
],