use Carbon\Carbon; use Jason\Ccshop\Models\Promotion; use Jason\Ccshop\Components\Catalog; use Jason\Ccshop\Plugin; use Jason\Ccshop\Models\Product; function onStart(){ $this['pageInfo'] = $this['catalog']->ProductSection('bargain-sale'); }