Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bhavik Patel

    (@bhavikdream)

    hi

    this is not possible by css ,It will be a change in plugin for Order Total in codding level ,

    Thread Starter gComm

    (@gcommercepk)

    i though by adding javascript arthrithmatic operators it could be possible ?

    Okay can you advise how can i make change at coding level ?

    Cheers !

    Plugin Author Bhavik Patel

    (@bhavikdream)

    Hi

    replace

    $order_meta['order_total']  = $order->get_formatted_order_total();

    To

    $order_meta['order_total'] = ($order->get_total()-75) ;

    in shipping_address_print.php line No 205

    Thread Starter gComm

    (@gcommercepk)

    I made the change by going into edit plugins, and replaced what you said. But no effect as of now. 75 is not being deducted from order total, am i doing something wrong ?

    Plugin Author Bhavik Patel

    (@bhavikdream)

    Plese Use [order_total_75] shoet code add in Address/order data area in setting Page And add after line No 205

    $order_meta['order_total_75']	= wc_price($order->order_total-75);

    Thread Starter gComm

    (@gcommercepk)

    Sweet ! its working – thanks for creating this free plugin .

    Cheers from Pakistan ??

    Plugin Author Bhavik Patel

    (@bhavikdream)

    i am glad to help you

    Plugin Author Bhavik Patel

    (@bhavikdream)

    Hi,
    Thanks to you.

    If you like the plugin and our support, please, support us with a 5-star review. It takes just a minute. Thank you!

    Best Regards,
    Bhavik Patel

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Subtract 75 from order total ?’ is closed to new replies.