Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Thread Starter takeoffcph

    (@takeoffcph)

    Dear mediawebster

    Can you fix it for us? We are willing to pay someone to do it.

    Thank you

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    On this forum, the search and implementation of paid services are prohibited.

    Try to add this code to functions.php

    add_filter('woocs_woocommerce_variation_prices', function($price) {
        global $WOOCS;
        if($WOOCS->current_currency == 'EUR'){
            $price = (ceil($price)%5 === 0) ? ceil($price) : round(($pricen+5/2)/5)*5;
        }
        return $price;
    });
    add_filter('woocs_raw_woocommerce_price', function($price) {
        global $WOOCS;
        if($WOOCS->current_currency == 'EUR'){
            $price = (ceil($price)%5 === 0) ? ceil($price) : round(($pricen+5/2)/5)*5;
        }
        return $price;
    
    });
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.