• Resolved alzok

    (@alzok)


    Hi, the decimals of the price are not take in woocommerce cart.

    I dont know why, I tested several things for change the price after with hook of woocommerce like :

    add_action( 'woocommerce_after_cart_totals', 'add_custom_price', 100, 1 );
    
    function add_custom_price( $cart_object ) {
        $custom_price = 50; // This will be your custome price  
        foreach ( $cart_object->cart_contents as $key => $value ) {
            $value['data']->set_price($custom_price);
        }
    }

    but that doesn’t change the price of the item. If that would have changed it I could have taken the url parameter and reset the value of the article with decimal digits.

    I make a video for explain the issue : https://www.loom.com/share/78c7cd80a3954221b3cc83607f8d9d1f

    I need decimals because I have to change the currency to bitcoin, so the payments are for example 0.0001 bitcoin and not 1.00 bitcoin.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi alzok,

    We are looking into the issue, please give us little time.

    Thanks

    Hi alzok,

    The issue you have discovered has been resolved. We are releasing new updates in couple of hours.

    Please update the plugin to version 1.1.17.

    Thanks you for your patience.

    Thread Starter alzok

    (@alzok)

    Hi, thanks its solve the issue, but now with this update, on the back office on the section “Recent Donation List” i cant see the donation list. And its not appaer in front end to. Do you have the same issue ?

    Hi alzok,

    If I understand you correctly then you are talking about this list [https://prnt.sc/t4wpys] and I have no issue with it in my end.

    Please try to clean the cache of browser and try again. If the issue is still there it would be great if you open a ticket here [https://help.wpmet.com/] so we can investigate the issue in your end and fix it for you.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘decimals don’t work’ is closed to new replies.