Dear Joomshaper Support Team,
A further feature request has arisen while continuing development of my custom shipping plugin.
The plugin can determine useful outcomes from the shipping-rate lookup that are not simply "shipping available" or "shipping unavailable" — for example, a missing suburb, an invalid address, no suitable rate for the supplied address, an order exceeding our shipping limit, or an API error.
At present, when the plugin returns no shipping methods, EasyStore displays the generic:
"No shipping available currently for this region."
It would be very useful if a custom shipping plugin could optionally return a status value alongside the normal shipping-method data, allowing the checkout to display an appropriate customer-facing message.
I have currently achieved this by making small modifications to EasyStore's CheckoutController.php and checkout JavaScript, but of course those changes could be overwritten by a future EasyStore update.
Would you consider providing a supported mechanism for shipping plugins to pass such status information back to the checkout?
If there is already a supported way of achieving this, I would be very interested to know about it.
Thanks,
Bruce