[BUG][Front] Cart invalid price display & round

Top WooCommerce & WordPress Plugins Forums Product Price by Quantity for WooCommerce [BUG][Front] Cart invalid price display & round

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #93873
    blankmasamune.code
    Participant

    Hey there,

    Your plugin works great and I’d love to use, but I’ve come accross a bug.

    In France it’s better to define product prices without taxes (VAT) and there’s a bug on the cart page when displaying the price.

    In the table line the product price is displayed without taxes applied (total is fine, maybe re-use the code ?).

    Also the totals numbers doesn’t round right because the plugin price field allow only 4 digits after the comma (6 or 8 would be much better).

    Here’s a couple of screenshots to help.

    https://stockage.masamune.fr/images/debug/product-price-by-quantity-for-woocommerce/01-woocommerce-prices-set-without-taxes.png

    https://stockage.masamune.fr/images/debug/product-price-by-quantity-for-woocommerce/02-regular-and-discount-prices.png

    https://stockage.masamune.fr/images/debug/product-price-by-quantity-for-woocommerce/03-quantity-discount-without-taxes.png

    https://stockage.masamune.fr/images/debug/product-price-by-quantity-for-woocommerce/04-BUG-front-price-on-line-displayed-without-taxes-and-badly-rounded.png

    https://stockage.masamune.fr/images/debug/product-price-by-quantity-for-woocommerce/05-Adjust-numbers-after-commas.png

    All versions are latest :
    WordPress :
    WooCommerce :
    Your plugin : 3.1.0

    Steps to reproduce wrong price :

    1. Install WordPress
    2. Install WooCommerce plugin
    1. Settings > VAT > Nope
    2. (In France VAT is 20%)
    3. Install Product Price by Quantity for WooCommerce plugin
    4. Go to a product, Fix a taxe free price and a limit
    5. Go to product page, add some to cart (above the discount limit..)
    6. Go to cart page

    Steps to reproduce wrong rounded price :

    1. Install WordPress
    2. Install WooCommerce plugin
    1. Settings > VAT > Nope
    2. (In France VAT is 20%)
    3. Install Product Price by Quantity for WooCommerce plugin
    4. Go to a product, Fix a taxe free price with more than 4 digits after the comma

    Tell me if you need more infos.

    Thanks a lot, have a good day

    #94232
    blankMoshtafizur
    Moderator
    Plugin Support

    Hello,

    I am really sorry to know you are having problems.

    I am unable to access the link to view the screenshots. In order for us to look at these, would you kindly send the screenshots to [email protected]?

    Best regards,
    Moshtafizur

    #95726
    blankmasamune.code
    Participant

    Sure

    #95727
    blankMoshtafizur
    Moderator
    Plugin Support

    Hello,

    Thank you for sending the screenshots.

    Regards,
    Moshtafizur

    #102637
    blankmasamune.code
    Participant

    To keep it clean and all in one place, here’s some of our lightened mails exchanges.

    > Moshtafizur (WPFactory Support)
    Regarding the second issue, do you also want to see the decimal numbers?

    > Me
    It’s not about displaying the decimal numbers on the frontend, it’s about allowing to save the field in the wordpress backend with more than 4 digits after the comma.
    Currently it’s possible through batch importing, but we can’t edit from the administration (probably an input number with a step attribute set like 0.0001, cf doc )

    I’d like to have it like ~ <input type=”number” range=”0.0000000001″> or something like that 🙂

    Cheers

    #102651
    blankMoshtafizur
    Moderator
    Plugin Support

    Hello Maxime,

    Regarding the second issue, I will pass your request on to the development team.

    Now regarding the first issue, could you please go to WooCommerce > Settings > Product Price by Quantity > General and enable/disable the Rounding option and see if the issue persists?

    Kind regards,
    Moshtafizur

    #103430
    blankmasamune.code
    Participant

    Hey there,

    I’ve tried to switch the option, it didn’t change the issue :/

    Cheers

    #103431
    blankMoshtafizur
    Moderator
    Plugin Support

    Hello,

    I have escalated this with our development team . They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    #103733
    blankMoshtafizur
    Moderator
    Plugin Support

    Hello again, Maxime,

    I hope you are well today.

    The first issue could not be reproduced on our end. Would it be possible for you to share your WordPress dashboard access so that we can check it for you? Then please send us your login credentials to [email protected].

    Kind regards,
    Moshtafizur

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.