• Resolved qtwrk

    (@qtwrk)


    Hi,

    I have a custom code to remove or change the tax type based on user profile , it works on the front end and order without touch

    but once I click this “recalculate” button , it will attach the default tax to it , so I wonder if there is hook that I can use to manipulate this button and its function ?

    something like

    if (my condition A) {
    // remove tax
    }
    elseif(my condition B) {
    // change tax to XX
    }
    elseif(my condiiton C){
    // change tax to YY
    }
    else {
    // continue on default function...
    }

    Best regards,

    • This topic was modified 2 months, 2 weeks ago by qtwrk.
Viewing 1 replies (of 1 total)
  • Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @qtwrk,

    Thank you for reaching out to WooCommerce Support.

    For reference, this particular forum is meant for general support with the core functionality of WooCommerce itself. For development and custom coding questions, it’s best to ask for insight related to those on either the?WooCommerce Advanced Facebook group?or the?WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I will leave this thread open for a bit to see if anyone can chime in and help you out further.

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.

    Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.