Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IF($itemweight > 0.01 AND $itemweight < 0.51, $amazonaushippingtemplate = "Shipping Class 1",""),
- IF($itemweight > 0.51 AND $itemweight < 1.01, $amazonaushippingtemplate = "Shipping Class 2",""),
- IF($itemweight > 1.01 AND $itemweight < 3.01, $amazonaushippingtemplate = "Shipping Class 3",""),
- IF($itemweight > 3.01 AND $itemweight < 5.01, $amazonaushippingtemplate = "Shipping Class 4",""),
- IF($itemweight > 5.01 AND $itemweight < 10.01, $amazonaushippingtemplate = "Shipping Class 5",""),
- IF($itemweight > 10.01 AND $itemweight < 20.01, $amazonaushippingtemplate = "Shipping Class 6",""),
- IF($itemweight > 20.01 AND $itemweight < 30.01, "Shipping Class 7",""),
- IF($itemweight > 30.01 AND $itemweight < 40.01, "Shipping Class 8",""),
- IF($itemweight > 40.01 AND $itemweight < 50.01, "Shipping Class 9",""),
- IF($itemweight > 50.01 AND $itemweight < 70.01, "Shipping Class 10",""),
- IF($itemweight > 70.01 AND $itemweight < 90.01, "Shipping Class 11",""),
- IF($itemweight > 90.01 AND $itemweight < 100.01, "Shipping Class 12",""),
- IF($itemweight > 100.01 AND $itemweight < 120.01, "Shipping Class 13",""),
- IF($itemweight > 120.01 AND $itemweight < 130.01, "Shipping Class 14",""),
- IF($itemweight > 130.01 AND $itemweight < 150.01, "Shipping Class 15",""),
- IF($itemweight > 150.01 AND $itemweight < 170.01, "Shipping Class 16",""),
- IF($itemweight > 170.01 AND $itemweight < 200.01, "Shipping Class 17",""),
- IF($itemweight > 200.01 AND $itemweight < 250.01, "Shipping Class 18",""),
- IF($itemweight > 250.01 AND $itemweight < 350.01, "Shipping Class 19",""),
- IF($itemweight > 350.01 AND $itemweight < 450.01, "Shipping Class 20","")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement