with([ 'globalVariations' => Variation::globals()->latest()->get(), 'globalOptions' => Option::globals()->latest()->get(), 'brands' => Brand::list()->prepend(trans('admin::admin.form.please_select'), ''), 'categories' => Category::treeList(), 'taxClasses' => TaxClass::list()->prepend(trans('admin::admin.form.please_select'), ''), 'tags' => Tag::list(), 'attributeSets' => AttributeSet::with('attributes.values')->get()->sortBy('name'), ]); } }