Model
GetCurrentWebsiteCode
Magento\InventoryInStorePickupFrontend\Model\GetCurrentWebsiteCode
What it does
This model retrieves the current website code for the active store in Magento's multi-website/store setup.
Developers use this class when implementing In-Store Pickup functionality to identify which website context the customer is browsing from, ensuring inventory and pickup locations are filtered appropriately for that specific website.
Public Methods
- execute()