Viewing 3 replies - 1 through 3 (of 3 total)
  • QUERO QUE RETIREM MEU E-MAIL DESSE TÓPICO

    Thread Starter osamublack

    (@osamublack)

    Hello Again. I found a method by which I could get vendor shipping rates without overriding admin shipping rates. Sorry but I had to add one line in your plugin file class-wcfmmp-shipping.php at line 568:

    if ( 'wcfmmp_product_shipping_by_country' === $rate->method_id || 'wcfmmp_product_shipping_by_zone' === $rate->method_id || 'wcfmmp_product_shipping_by_weight' === $rate->method_id || 'wcfmmp_product_shipping_by_distance' === $rate->method_id )  {
    

    to

    
    if ( 'wcfmmp_product_shipping_by_country' === $rate->method_id || 'wcfmmp_product_shipping_by_zone' === $rate->method_id || 'wcfmmp_product_shipping_by_weight' === $rate->method_id || 'wcfmmp_product_shipping_by_distance' === $rate->method_id || 'flat_rate' === $rate->method_id ) {
    

    If you could, please give me a hook by which I can do what I did above with out disturbing the plugin files and write. Thank you.

    • This reply was modified 5 years, 8 months ago by osamublack.
    • This reply was modified 5 years, 8 months ago by osamublack.
    Plugin Author WC Lovers

    (@wclovers)

    Your requirement not clear to me.

    If you want to work with Admin’s shipping setting then disable store shipping from WCFM Admin Setting – Shipping Setting

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Do not override Admin Shipping Methods’ is closed to new replies.