I use two shipping methods: One for orders below 200 euro, and second (free postage) for orders above 200 euro.
The shipping cost is not visable for free postage.:

{ "rules_flat_rate_free" : {
    "LABEL" : "Flat rate FREE",
    "PLUGIN" : "reaction rule",
    "REQUIRES" : [ "rules", "commerce_shipping" ],
    "ON" : [ "commerce_shipping_methods" ],
    "IF" : [
      { "entity_has_field" : {
          "entity" : [ "commerce-order" ],
          "field" : "commerce_customer_shipping"
        }
      },
      { "data_is" : {
          "data" : [ "commerce-order:commerce-order-total:amount" ],
          "op" : "\u003e",
          "value" : "10000"
        }
      }
    ],
    "DO" : [
      { "commerce_shipping_enable_flat_rate" : {
          "commerce_order" : [ "commerce-order" ],
          "shipping_method" : { "value" : {
              "method_id" : "flat_rate",
              "shipping_label" : "Postage",
              "settings" : {
                "shipping_price" : "0",
                "shipping_rates" : { "EUR" : { "EUR" : "0" }, "USD" : { "USD" : "0" } },
                "rate_type" : "line_item",
                "label" : "Postage"
              }
            }
          }
        }
      }
    ]
  }
}

Comments

googletorp’s picture

Project: Commerce Shipping » Commerce Shipping Flat Rate

No longer a part of commerce shipping.

googletorp’s picture

Project: Commerce Shipping Flat Rate » Commerce Shipping

Commerce shipping should show shipping methods that has a rate of 0.

googletorp’s picture

Title: Module is not working if shopiing rate is 0 » Create shipping line item when rate is 0
googletorp’s picture

Status: Active » Fixed

Fixed en dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.