gardenlawn / core
Core
Installs: 126
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:HTML
Type:magento2-module
pkg:composer/gardenlawn/core
Requires
- php: >=8.3.0
- ext-curl: *
- ext-fileinfo: *
- ext-gd: *
- amasty/html-sitemap: ^1.3
- amasty/module-clarity-consent-mode-hyva: ^1.0
- amasty/module-customer-export-subscription-functionality: ^1.0
- amasty/module-export-merged-fields: ^1.0
- amasty/module-extended-product-grid-subscription-package: ^1.13
- amasty/module-gdpr-cookie-graphql: ^1.0
- amasty/module-gdpr-cookie-hyva: ^2.5
- amasty/module-gdpr-graphql: ^1.0
- amasty/module-gdpr-hyva: ^2.2
- amasty/module-gdpr-hyva-checkout: ^1.1
- amasty/module-gdpr-pro: ^2.17
- amasty/module-gdpr-pro-subscription-package: ^2.16
- amasty/module-google-consent-mode: ^1.0
- amasty/module-google-consent-mode-hyva: ^1.1
- amasty/module-google-map: ^1.0
- amasty/module-html-sitemap-subscription-package: ^1.3
- amasty/module-hyva: ^1.2
- amasty/module-import-export-subscription-package-premium: ^2.1
- amasty/module-mage-248-fix: ^1.0
- amasty/module-mega-menu-lite-hyva: ^2.0
- amasty/module-mega-menu-subscription-package-lite: ^1.7
- amasty/module-messenger-widget: ^1.0
- amasty/module-microsoft-consent-mode: ^1.0
- amasty/module-pgrid-subscription-functionality: ^1.1
- amasty/module-product-import-subscription-functionality: ^1.0
- amasty/module-product-review-export: ^1.0
- amasty/module-seo-html-sitemap-hyva: ^1.0
- amasty/module-seo-toolkits-lite: ^1.2
- amasty/paction: ^1.3
- amasty/reindex-from-admin: ^1.1
- aurora/module-santander: dev-master
- elgentos/regenerate-catalog-urls: ^0.4.7
- gardenlawn/amrobotstheme: dev-master
- gardenlawn/finntheme: dev-master
- gardenlawn/hyvatheme: dev-master
- gardenlawn/magento-2-social-login: *
- gardenlawn/module-hyva-checkout-inpost: *
- gardenlawn/module-hyva-checkout-paynow: *
- gardenlawn/module-hyva-checkout-santander: *
- gardenlawn/seo: *
- hugerte/hugerte: *
- hyva-themes/hyva-ui: ^2.6
- hyva-themes/magento2-compat-module-fallback: *
- hyva-themes/magento2-default-theme-csp: ^1.4
- hyva-themes/magento2-heroicons2: ^1.0
- hyva-themes/magento2-hyva-checkout: ^1.3
- hyva-themes/magento2-hyva-widgets: ^1.0
- hyva-themes/magento2-optimized-csp-allowlist: ^1.0
- hyva-themes/magento2-payment-icons: ^2.0
- hyva-themes/magento2-theme-module: *
- magento/composer-dependency-version-audit-plugin: ~0.1
- magento/composer-root-update-plugin: ^2.0.4
- magento/product-community-edition: 2.4.8-p3
- pay-now/paynow-magento2: ^2.0
- plumrocket/module-csp-reports: ^1.0
- smartmage/inpost: *
This package is auto-updated.
Last update: 2025-12-22 21:49:05 UTC
README
This document provides an overview of the GardenLawn Core module.
Directory Structure
- Api: Interfaces for the module.
- Block: Block classes.
- Configs: Configuration related files.
- Console: Console commands.
- Controller: Controller actions.
- Cron: Cron jobs.
- Helper: Helper classes.
- Model: Models and resource models.
- Observer: Event observers.
- Plugin: Plugins (Interceptors).
- Scripts: Utility scripts.
- Setup: Database setup scripts.
- Utils: Utility classes.
- ViewModel: View models.
- etc: Configuration files.
- files: Miscellaneous files.
- view: Layouts and templates.
Overview
This module serves as the core foundation for the GardenLawn project, providing shared functionality, utilities, and base configurations.
GardenLawn Core Module (Console Commands)
This module provides core functionalities for the GardenLawn Magento 2 project.
Console Commands
This document lists all custom console commands available in the GardenLawn modules.
Core Module (GardenLawn/Core)
Sync Static Assets to S3
Synchronizes static assets for specific themes with the configured S3 bucket.
Usage:
bin/magento gardenlawn:s3:sync-static <theme>...
Arguments:
theme: (Required, array) The theme(s) to synchronize (e.g.,Magento/lumaGardenLawn/theme).
Sync Dealer Prices
Synchronizes the dealer_price (EUR) attribute with native Tier Prices for B2B customer groups, converting the price to the store's base currency (PLN). After running, reindex the price indexer.
Usage:
bin/magento gardenlawn:dealer:sync-prices bin/magento indexer:reindex catalog_product_price
This command has no arguments or options.
Company Module (GardenLawn/Company)
Import Dealers
Imports dealer data from JSON files (stihl.json, husqvarna.json) located in GardenLawn/Core/Configs/. It updates existing records based on name and customer group or creates new ones.
Usage:
bin/magento gardenlawn:import:dealers
This command has no arguments or options.
MediaGallery Module (GardenLawn/MediaGallery)
Sync S3 Assets
Synchronizes AWS S3 assets with the media_gallery_asset table.
Usage:
bin/magento gardenlawn:mediagallery:sync-s3 [options]
Options:
--dry-run: Do not modify the database, only show what would be done.--with-delete: Enable deletion of database assets that are no longer in S3.--force-update: Force update of existing assets if hash/width/height is missing or hash has changed.
Populate Asset Links
Creates galleries from folder paths, links assets, and optionally prunes old galleries.
Usage:
bin/magento gardenlawn:mediagallery:populate-all [options]
Options:
--dry-run: Do not modify the database, only show what would be done.--with-prune: Enable pruning of galleries that no longer have corresponding asset paths.
Convert Images to WebP
Converts images in the media gallery to the WebP format, creates thumbnails, and cleans up legacy files.
Usage:
bin/magento gardenlawn:gallery:convert-to-webp [options]
Options:
-f,--force: Force regeneration of existing WebP files and thumbnails, and refreshes metadata for original WebP files.
Deduplicate Assets
Finds and removes duplicate assets (files with the same path) from the media_gallery_asset table.
Usage:
bin/magento gardenlawn:mediagallery:deduplicate-assets [options]
Options:
--dry-run: Do not modify the database, only show what would be done.