Overview
The management of brands is exactly the same as the one done in most of the e-commerce website creation tools: only the name can change. It is mainly used to facilitate the navigation of customers in your catalog, as it is increasingly common to search for a specific brand.
Brands
Fields
The model used isShopper\Framework\Models\Shop\Product\Brand.
-
Create your own model that you have to use
Once the
app/Models/Brand.phpmodel is created in our app folder, we will make it extend from theShopper\Framework\Models\Shop\Product\Brandmodel available in Shopper. -
Extend our Brand model from the Brand Shopper Model
-
Update
brandkey for the model on thesystem.phpconfig file to use our new model
Components
Livewire components for managing brands are available in the component configuration fileconfig/shopper/components.php.
Manage Brands
The brands are accessible via the Brands Menu on the left sidebar. The display page is rendered by the Livewire componentShopper\Framework\Http\Livewire\Brands\Browse and for the display of the brands table is the component Shopper\Framework\Http\Livewire\Tables\BrandsTable.
You can modify them in the component configuration file to use your own.
Create brand
Click on the “Create” button on the brands page, and a creation form appears.
Create brand

Brand SEO
Delete brand
To delete, deactivate or activate brands, you need to select the brand you want to delete and then click on the “Bulk Actions” button to choose the action you want to perform.
Delete brand
Retrieve Data
Once you have your brands and you want to display them in your store, you can retrieve them this way in your controller- Create your brand composer undo a custom folder
app/View/Composers
- Then you have to add it in your AppServiceProvider

Brands example list