enjoyscms / catalog
Module Catalog for EnjoysCMS
Installs: 890
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 2
Type:enjoyscms-module
Requires
- php: ^8.1
- ext-intl: *
- beberlei/doctrineextensions: ^1.3
- enjoys/cartesian-iterator: dev-master
- enjoys/forms: >= 5.4.2
- enjoys/upload: ^3.0
- enjoyscms/admin: ^6.0@dev
- enjoyscms/core: ^6.0@dev
- enjoyscms/elfinder: ^6.0@dev
- enjoyscms/sitemap: ^6.0@dev
- gedmo/doctrine-extensions: ^3.0
- guzzlehttp/guzzle: ^7.7
- intervention/image: ^2.5
- jbroadway/urlify: ^1.2
- myclabs/deep-copy: ^1.10
- psr/event-dispatcher: ^1.0
- symfony/property-access: ^6.0
- symfony/serializer: ^6.0
Requires (Dev)
- vimeo/psalm: ^4.20 | ^5.9
- dev-3.х
- 6.x-dev
- 6.0.0
- 4.x-dev
- 4.27.0
- 4.26.4
- 4.26.3
- 4.26.2
- 4.26.1
- 4.26.0
- 4.25.1
- 4.25.0
- 4.24.1
- 4.24.0
- 4.23.0
- 4.22.1
- 4.22.0
- 4.21.1
- 4.21.0
- 4.20.1
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.1
- 4.17.0
- 4.16.4
- 4.16.3
- 4.16.2
- 4.16.1
- 4.16.0
- 4.15.3
- 4.15.2
- 4.15.1
- 4.15.0
- 4.14.0
- 4.13.5
- 4.13.4
- 4.13.3
- 4.13.2
- 4.13.1
- 4.13.0
- 4.12.1
- 4.12.0
- 4.11.0
- 4.10.1
- 4.10.0
- 4.9.3
- 4.9.2
- 4.9.1
- 4.9.0
- 4.8.15
- 4.8.14
- 4.8.13
- 4.8.12
- 4.8.11
- 4.8.10
- 4.8.9
- 4.8.8
- 4.8.7
- 4.8.5
- 4.8.4
- 4.8.3
- 4.8.2
- 4.8.1
- 4.8.0
- 4.7.5
- 4.7.4
- 4.7.3
- 4.7.2
- 4.7.1
- 4.7.0
- 4.6.0
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.5
- 4.4.4
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.7
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.24
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.1
- 3.0
- 2.x-dev
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.34
- 2.0.33
- 2.0.32
- 2.0.31
- 2.0.30
- 2.0.29
- 2.0.28
- 2.0.27
- 2.0.26
- 2.0.25
- 2.0.24
- 2.0.23
- 2.0.22
- 2.0.21
- 2.0.20
- 2.0.18
- 2.0.1
- 2.0.0
- 0.x-dev
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.0.1
- dev-product
This package is auto-updated.
Last update: 2024-11-15 21:18:40 UTC
README
- Added to doctrine config in
/di/doctrine.php
use Gedmo\Tree\TreeListener; $evm = new EventManager(); $treeListener = new TreeListener(); $evm->addEventSubscriber($treeListener);
-
Define in DI
\Psr\EventDispatcher\EventDispatcherInterface
-
Diff migration, migrate and clear cache-metadata
composer diff composer migrate
- Migration function
./vendor/bin/doctrine-migrations migrations:generate
//for Mysql insert to migration $this->addSql(<<<SQL CREATE FUNCTION CONVERT_PRICE( `price` INT, `main_currency` VARCHAR(3), `convert_currency` VARCHAR(3) ) RETURNS double DETERMINISTIC BEGIN IF (main_currency = convert_currency) THEN SET @result = price; ELSE SET @rate = (SELECT rate FROM catalog_currency_rate WHERE main = main_currency AND `convert` = convert_currency ); SET @result = price * @rate; END IF; RETURN @result; END; SQL);
composer migrate
- Setting elfinder
Options
disableEditProductCode
boolallowedPerPage
intproductImageStorage
stringstorageUploads
arrayproductFileStorage
stringthumbnailService
arrayadminTemplateDir
stringeditor
arrayproductDescription
categoryDescription
categoryShortDescription
allowedPerPage
int[]sort
stringminSearchChars
intshowSubcategoryProducts
booldelimiterOptions
stringallocatedMemoryDynamically
boolcurrency
arraydefault
stringratio
array
admin
arraysearchFields
array