...
There is also Grid configuration for all columns
Controllers in Admin Panel
There are actions for new, edit, delete and save Brand
And also for upload Brand icon and additional icon
vendor/creativestyle/magesuite-brand-management/Controller/Adminhtml/Brand/Upload.php:29
Code Block |
---|
public function execute()
{
try {
$result = $this->uploadProcessor->create()->processUpload();
} catch (\Exception $e)
.....
} |
magesuite-brand-management/Model/Brands/Processor/Upload.php:60
Code Block |
---|
public function processUpload($imageData = null)
{
if($imageData) {
$fileAttributes = $this->prepareUploadBase64Encoded($imageData);
} else {
$fileAttributes = $this->prepareUploadImage();
}
try {
.....
$result = $this->uploader->save($destinationFolder, $fileAttributes['name']);
.....
}
.....
} |
Frontend
The brand overview page is placed under /brands
url (brands-index-all
layout). It consists of linked brand icons and an alphabetical list with links to specific brand subpages.
...