Advertisement
Guest User

Untitled

a guest
May 19th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. In Woocommerce -> Settings -> Shipping, set up a Shipping Zone for Standard Shipping.
  2.  
  3. Add Shipping methods, in this case three: Standard Shipping ($7), Discounted Shipping ($5), and Free Shipping ($0).
  4.  
  5. Add the PHP to functions.php. To find out the id # of the rates, inspect the shipping methods in your browser;
  6. the data-id of the table row for each is what has to go into the 'flat_rate:x' string.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement