- Admin able custom products listing or show parent products only
- Admin able custom config product types suiable with your project
- Auto fill name, url key for variants
- Admin able set value channel as default and hidden it
- Download(clone) source code.
- Inside folder
packages
create new folderGGPHP
, inside folderGGPHP
create folderProduct
Copy
foldersrc
, thenpaste
in folderProduct
.- example:
packages/GGPHP/Product/src
- Now, to register the service provider, go to the
app.php
file inside the config folder & add your service provider inside theproviders
array. GGPHP\Product\Providers\ProductServiceProvider::class
- we need to add our package to the
composer.json
file of project root for auto loading inpsr-4
. "GGPHP\\Product\\": "packages/GGPHP/Product/src"
- Run
composer dump-autoload
- Run
php artisan route:cache
- Go to
https://<your-site>/admin/configuration/catalog/products