Skip to main content
Channels control where products and other models are published across different storefronts.

Overview

Channels allow products and other models to be published to different storefronts or sales channels. Lunar installs a default webstore 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 the HasChannels trait:
When using this trait, the scheduleChannel method becomes available:
There is also a channel scope available to models using this trait: