Feat: Hiding unused shipping types and removing unused fulfillment types
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user