• Overall, this is a good simple plugin. One major flaw though is that if you don’t apply a discount to a certain role the prices they see in the cart are always $0.00.

    It’s an easy fix fortunately that hopefully the dev will implement soon. The bcmul() method within woocommerce_get_price() is called regardless of whether there’s a discount applied or not which results in multiplying the price by zero returning $0.00 every time.

Viewing 1 replies (of 1 total)
  • simplest fix is

    woocommerce-role-pricing/core/class-wrp-variations-admin.php

    WRP_Variations_Admin::get_commission()

    line 263 change

    $discount = 0;

    to

    $discount = null;

Viewing 1 replies (of 1 total)
  • The topic ‘Multiply by zero turns prices to $0.00’ is closed to new replies.