• if($prodObj->get_attributes()[‘pa_size’] !== “large”){

    return “<span>”.$item_price.”</span> <span class=’txt-discounted-amount’>“. get_woocommerce_currency_symbol().” “.$cart_original_price * $cart_quantity. “</span>”;

    }

    if($wwsd_discount_type == “flat”)

    {
    if($prodObj->get_attributes()[‘pa_size’] !== “large”){
    $discount_msg = get_woocommerce_currency_symbol().” “.($wwsd_discounted_amount * $wwsd_arr_wholesale_discount_values[$product_id][‘quantity’]). ” скидка”;

    $discount_msg = “<span style=\”color:#3eb903\”> [“.$discount_msg.”]</span>”;
    }

    }

Viewing 1 replies (of 1 total)
  • Plugin Author Minerva Infotech

    (@minervainfotech)

    Hi genrich1993,

    What do you want to pointed out? Have you faced any issue or you want to suggest new feature to plugin? Can you describe little more?

Viewing 1 replies (of 1 total)
  • The topic ‘make a discount multiplied by the quantity of goods, please’ is closed to new replies.