Overview
Channels allow products and other models to be published to different storefronts or sales channels. Lunar installs a defaultwebstore channel during setup.
Fields
Relationships
Scopes
Assigning channels to models
Models can be assigned to different channels and optionally scheduled for availability within a date range. To add this functionality to a model, use theHasChannels trait:
scheduleChannel method becomes available:
channel scope available to models using this trait: