Apply weight-based shipping options in the checkout process
This code can be used to add weight-based shipping options to the checkout process. The various shipping options are first defined in settings as a flat rate in the usual way. You will then need to find the ID for each method that you want to manage. Right-click on the method heading and choose inspect … Read moreApply weight-based shipping options in the checkout process