The homepage looks for a sale collection, but we don't seed one. Maybe we should be for completeness?
e.g.
/**
* Return the sale collection.
*
* @return void
*/
public function getSaleCollectionProperty()
{
return Url::whereElementType(Collection::class)->whereSlug('sale')->first()?->element;
}
The homepage looks for a sale collection, but we don't seed one. Maybe we should be for completeness?
e.g.