The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

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?

Sign In or Register to comment.