WPprodigy / woocommerce-product-fees

Add additional fees at checkout based on products that are in the cart.
https://wordpress.org/plugins/woocommerce-product-fees/
Other
25 stars 19 forks source link

Compatibility with WMCL #18

Closed Ogien closed 7 years ago

Ogien commented 8 years ago

Currently the plugin reads all fees as just a number with no base currency. If I were to change the base to KRW (South Korean Won), the fees would just adopt the new currency symbol with no change in value.

It would be great for the plugin to recognize the base value of the store currency and use it against wcml. Naturally, WCML would understand that the base, was ie USD, and convert it to KRW; providing the proper symbol and price.

WCML --> WooCommerce Multilingual via https://wpml.org/documentation/related-projects/woocommerce-multilingual/

WPprodigy commented 7 years ago

I don't have any experience adding WPML support like this, but it's my understanding that the WPML plugin has to add compatibility, not the other way around.

the fees would just adopt the new currency symbol with no change in value.

That is how WC core works by default on all pricing fields as well. If I need to pass a special parameter when adding the fees for WPML to use, then I can do that. But I'm not aware of anything that I need to do.

Whatever they did for this plugin: https://woocommerce.com/products/woocommerce-checkout-add-ons/, is probably the solution for this issue as well.