Closed (fixed)
Project:
Commerce Shipping
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2011 at 20:51 UTC
Updated:
14 Jan 2012 at 15:40 UTC
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
Comment #1
googletorp commentedNo longer a part of commerce shipping.
Comment #2
googletorp commentedCommerce shipping should show shipping methods that has a rate of 0.
Comment #3
googletorp commentedComment #4
googletorp commentedFixed en dev.