• osamublack

    (@osamublack)


    I have enabled shipping by vendor. It works fine the only problem I face is that it overrides admin rates and does not display them. I want them both to work out. Any guidance shall be much appreciated.
    Admin Shipping Methods available
    Vendor Shipping Disabled
    Shipping Methods restricts to vendor
    Vendor Shipping Enabled

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

    (@dsnilo)

    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 4 years ago by osamublack.
    • This reply was modified 4 years 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.