Feat: Hiding unused shipping types and removing unused fulfillment types

This commit is contained in:
2026-09-29 00:43:48 +03:00
parent d6c6bf6a1c
commit 359b645c62
7 changed files with 46 additions and 133 deletions
+5 -2
View File
@@ -20,8 +20,11 @@ use Lunar\Shipping\Managers\ShippingManager as VendorShippingManager;
* only needs to override the one method that lists what's offered.
*
* Bound over the vendor's own ShippingMethodManagerInterface binding in
* ShippingServiceProvider — see that class for why (registration order:
* this module's provider binds after the vendor's own).
* ShippingServiceProvider, from inside its own $this->app->booted(...)
* callback — a plain register()-time bind() here runs BEFORE the
* vendor's own (composer discovers boboko/core before lunarphp/
* table-rate-shipping alphabetically), so the vendor's later bind()
* would silently win instead. See that provider's own comment.
*/
class ShippingManager extends VendorShippingManager
{