This module provides the following useful features for Magento 2:
- Additional widget types
- Image picker
- Text field
- Enabled
anchor
button in WYSIWYG - Banner images for CMS pages - adds an option to upload a banner image to all page in
Content > Pages
which can be pulled through to the frontend. Create
section in admin menu for quick actions:- Create new order
- Create product
- Enforces media URL seen by the admin to be NULL always (i.e. so CDN isn't used)
- Canonical URL improvements
- Add canonical URL for all CMS pages
- Include pagination in category canonical URLs as per Google Recommendation
- Set robots meta tag to
NOINDEX/NOFOLLOW
for:- Common query strings such as list ordering, limit, store codes etc
- Search results
- Product review list
- Forces a 404 HTTP response for placeholder images
- Adds preconnect headers for google.com/gstatic.com
- Don't move cookiebot tags to footer when move JS to footer is enabled
- Block YouTube cookies unless Cookiebot has given consent (Enabled by default)
- Cookiebot declaration template for use on cookie policy CMS page
- Import Termly generated Cookie Policy for use on cookie policy CMS page
/rest/V1/site_status/get
- To remotely obtain recent config changes and indexer statuses
- Helper classes:
- Asset helper - get assets
- Image helper - get media images and resize, crop etc.
- Config helper - get values from Magento config
- Console commands
outeredge:nuke
for removing all cache and static filesouteredge:config
lists all recent config changes
- Adds support for newer version of MariaDB
- Disables jQuery mutate console messages
Command | Description |
---|---|
$ bin/magento outeredge:config |
Show recent core_config_data changes |
$ bin/magento outeredge:nuke |
Remove generated + static files and flushes cache) |
To add the Cookiebot cookie declaration form into your cookie policy CMS page, add the following snippet into the CMS page in the Magento admin:
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::cookiebot/declaration.phtml"}}
To add the Termly cookie policy into your cookie policy CMS page, add the following snippet into the CMS page in the Magento admin:
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::termly/cookie-policy.phtml"}}
Add multistore.php
to the top of the composer.json
autoload/files section to allow separate config files (and thus databases) per store on the same instance/repository:
- Add to
composer.json
:
"autoload": {
"files": [
"vendor/outeredge/magento-base-module/multistore.php",
...
- Then create individual env.php files for each, naming them
env.php.STORE_CODE
replacingSTORE_CODE
as applicable.