Accessing returned rate of fc-shipping-rates__rate__value

Is there a way to access the actual returned rates for fc-shipping-rates__rate__value? Here's my use-case. I currently use UPS SurePost as my free shipping option (set up as a custom domestic service), but I'm considering eliminating free shipping, and I'd like to keep SurePost as an option. I know there's no way to use UPS APIs to pull live rates for SurePost, but what I could do is make it UPS Ground - $2 or something like that. However, I'd need to be able to pull the returned rate for UPS Ground using JavaScript, do the math, and then set the value for SurePost. Is there a way to parse the returned dollar value? Could those data elements be given HTML IDs so I could reference them?

Thanks!
Comments
Sign In or Register to comment.