Does anyone have experience writing their
shipping_method_selector_class for EasyPost (
https://github.com/solidusio-contrib/solidus_easypost) extension?
We added our DPD account to EasyPost, and all the options show up in Solidus (passed through API from EasyPost to Solidus).
Within Solidus, the shipping rate is £3.50 for orders less than £35 and free orders for more than £35. We set that up through price sack. The logic for EasyPost, however, to define shipping option/method is that for any order less than 4KG is "ExpersspakDpdNextDay", while for orders whose weight is above 4KG, we pick "ParcelDbdNextDay".
I believe I have to customise the
shipping_method_selector_class for EasyPost. How do I approach this? Any help is much appreciated! Perhaps someone has a working example that they can share? I am sure I am not the first person to face this issue 😄 Thank you!