WordPress.org

Ready to get started?Download WordPress

Forums

Flat Rate per Country/Region for WooCommerce
[resolved] Warning : conflict with WC 2.1 (8 posts)

  1. contremaitre
    Member
    Posted 6 months ago #

    This plugin causes a conflict with the recent version of WC (2.1)
    It causes prices save to the DB with commas instead of decimals.

    Disabling this plugin solves the issue.

    https://wordpress.org/plugins/flat-rate-per-countryregion-for-woocommerce/

  2. simquo
    Member
    Posted 5 months ago #

    The same here! How to fix it?

  3. arvee2004
    Member
    Posted 5 months ago #

    Same here, any solutions?

  4. Webdados
    Member
    Plugin Author

    Posted 5 months ago #

    We're working on a fix.

    Sorry for the delay.

  5. Webdados
    Member
    Plugin Author

    Posted 5 months ago #

    contremaitre: We do not find anything on the code that could indicate that the plugin is saving prices to the DB with commas instead of decimals.

    We do not think this is the problem. Can you please give us more information?

  6. contremaitre
    Member
    Posted 5 months ago #

    The bug I encountered is described here (only since WC 2.1) :
    https://github.com/woothemes/woocommerce/issues/4778
    As soon as I disabled this plugin plugin, all was fine again.

  7. Webdados
    Member
    Plugin Author

    Posted 5 months ago #

    I've looked at that link and it does not explain why this problem happens with our plugin.

    There are no "taxes" on this plugin. This plugin sets flat (monetary and not percentage) rates. The values are always stored using "." as decimal, no matter what the WooCommerce settings. We use php's "float" function to make sure the calculations are made correctly.

    The problem we do know we have since 2.1 is the value not loading on the checkout page when you change the billing country.

    We are investigating on this and if you still think this is a "," vs. "." issue, please reply with more detailed information.

  8. Webdados
    Member
    Plugin Author

    Posted 5 months ago #

    We made some extra checks and changed the configuration fields in order to make sure the values are displayed WITH localization and stored WITHOUT localization.

    It should be fixed on 1.1

    Please give us feedback.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.