Categories
WP Plugin Setup

Custom WordPress Theme Integration Requirements

Good news WordPress developers! We have coded Slibstream inline with the latest WooCommerce API standards and tested it thoroughly works with WPML multi currency.

Browse our demo site to see Slibstream in action.

There Are 3 Key WooCommerce Components That Slibstream Hooks Into

Slibstream relies on the following WordPress hooks to display the Customs Duty on the basket and checkout pages.

WooCommerce hooks that display the Customs Duty Total

add_action('woocommerce_after_cart', array($this, 'debug_output'));
add_action('woocommerce_after_checkout_form', array($this, 'debug_output'));

WooCommerce hook that gets the customs duty data from the Slibstream API

add_action('woocommerce_cart_calculate_fees', array($this, 'slibstream_tax_api_request'));

WooCommerce filter that integrates Slibstream with WPML (if WPML is installed)

add_filter('wcml_client_currency', array($this,'wpml_woocommerce_currency'));

Please do not disable these filters and hooks if you are developing a custom WordPress theme and intend to use Slibstream.

Happy coding!