outeredge / magento-base-module
Magento 2 Base Module by outer/edge
Installs: 38 685
Dependents: 4
Suggesters: 0
Security: 0
Stars: 7
Watchers: 7
Forks: 1
Open Issues: 3
Type:magento2-module
Requires
- php: ^8.1
- eliashaeussler/cache-warmup: *
- magento/product-community-edition: >=2.4.4
- outeredge/googlecloudstorage: ^2.0
- outeredge/magento-bulk-actions: ^1.0
- outeredge/magento-language-en_gb-module: ^1.0
- outeredge/magento-layout-module: ^3.4
- outeredge/magento-limitrole-module: ^1.0
- outeredge/magento-opentelemetry-module: ^1.0
Suggests
- outeredge/magento-disable-common: To remove commonly unused modules
- outeredge/magento-disable-graphql: To remove GraphQL modules when not in use
- dev-master
- 5.0.17
- 5.0.16
- 5.0.15
- 5.0.14
- 5.0.13
- 5.0.12
- 5.0.11
- 5.0.10
- 5.0.9
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.3.x-dev
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.15
- 4.1.14
- 4.1.13
- 4.1.12
- 4.1.11
- 4.1.10
- 4.1.9
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.0.x-dev
- 4.0.18
- 4.0.17
- 4.0.16
- 4.0.15
- 4.0.14
- 4.0.13
- 4.0.12
- 4.0.11
- 4.0.10
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.2.x-dev
- 3.2.1
- 3.2.0
- 3.1.x-dev
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.17
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 2.6.x-dev
- 2.6.40
- 2.6.39
- 2.6.38
- 2.6.37
- 2.6.36
- 2.6.35
- 2.6.34
- 2.6.33
- 2.6.32
- 2.6.31
- 2.6.30
- 2.6.29
- 2.6.28
- 2.6.27
- 2.6.26
- 2.6.25
- 2.6.24
- 2.6.23.1
- 2.6.23
- 2.6.22
- 2.6.21
- 2.6.20
- 2.6.19
- 2.6.18
- 2.6.17
- 2.6.16
- 2.6.15
- 2.6.14
- 2.6.13
- 2.6.12
- 2.6.11
- 2.6.10
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.9
- 2.5.8
- 2.5.7
- 2.5.6
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2.1
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-clean-not-existing-class
- dev-canonical-updates
- dev-save-config-change-to-file
- dev-prevent-eav-errors
- dev-table-prefix
- dev-vseager-patch-1
- dev-vseager-canonical-base-url
- dev-test-change-order-status
- dev-fix-cms-page-error
- dev-update-readme
- dev-cookiebot-declaration
- dev-fix-preg_replace
- dev-merge-cookiebot-module
- dev-magento1
This package is auto-updated.
Last update: 2025-02-21 16:42:35 UTC
README
This module provides the following useful features for Magento 2:
Admin
- 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)
SEO
- 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
Cookiebot & Termly
- 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
API
/rest/V1/site_status/get
- To remotely obtain recent config changes and indexer statuses
Developer Tools
- 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
Console Commands
Command | Description |
---|---|
$ bin/magento outeredge:config |
Show recent core_config_data changes |
$ bin/magento outeredge:nuke |
Remove generated + static files and flushes cache) |
Cookiebot Declaration
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"}}
Termly Cookie Policy
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"}}
Multistore projects
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.