flagbit / shopware-maintenance
A Shopware extension for easy maintenance.
Installs: 24 763
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 15
Forks: 1
Open Issues: 3
Type:symfony-bundle
Requires
- shopware/core: ^6.5|^6.6
- symfony/console: ^6.3|^7.0
- symfony/framework-bundle: ^6.3|^7.0
This package is auto-updated.
Last update: 2024-11-11 07:51:04 UTC
README
Flagbit Shopware Maintenance
A Shopware extension for easy maintenance
Installation • Development • Troubleshooting
Installation
Step 1: Download the bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require flagbit/shopware-maintenance
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
// config/bundles.php return [ // ... Flagbit\Shopware\ShopwareMaintenance\ShopwareMaintenance::class => ['all' => true], ];
Usage
The file config/plugins.php
defines which Shopware plugins should be enabled or disabled.
Example
# config/plugins.php <?php declare(strict_types=1); # be a were this is a sorted list because of plugin dependencies may occur return [ 'SwagMarkets' => false, # disabled 'SwagPayPal' => true, # enabled 'SwagPlatformDemoData' => false, # disabled ];
The file config/config.yaml
defines Shopware plugin configuration values to be set.
Example
Use global for all SalesChannels. Or use the name from one SalesChannel translation to update the config.
We do not use the uuid from the SalesChannel because this can be different from envoirment to envoirment.
# config/config.yaml "global": "core.listing.productsPerPage": 48 "Store Name": "core.listing.productsPerPage": 48 "core.listing.allowBuyInListing": false "core.listing.showReview": false "Headless": "core.listing.productsPerPage": 48
Commands
bin/console config:sync # synchronizes configuration values as defined in config/config.yaml bin/console plugin:refresh # ensure plugins classes are loaded before plugin:sync execution bin/console plugin:sync # synchronizes plugin enable/disable status as defined in config/plugins.php
Troubleshooting
Supported with ❤️ by Flagbit GmbH & Co. KG