SHARE
TWEET

Untitled

a guest May 19th, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top