psvneo / t3-extension-merchants
This extension adds a plugin to list merchant records.
1.5.0
2021-04-19 13:38 UTC
Requires
- parsecsv/php-parsecsv: ^1.2
- sjbr/static-info-tables: ^6.9
- typo3/cms-core: ^9.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- helmich/typo3-typoscript-lint: ^2.1
- nimut/testing-framework: ^5.0
- phpmd/phpmd: ^2.7
- phpstan/phpstan: 0.11.*
- squizlabs/php_codesniffer: ^3.4
This package is auto-updated.
Last update: 2021-04-19 13:45:13 UTC
README
Dependencies
- TYPO3
9.5
Description
This extension adds a plugin to list merchant records and a command to import merchant data of a .CSV file.
How to install?
- Activate the extension via the extensions module.
- Include the static typoscript file.
- Get and install yarn
- Get and install composer
- Navigate to the root of the extension and run:
yarn install && composer install
Import file structure
"ID";"TITLE";"SUBTITLE";"ADDRESS";"ZIP";"CITY";"FAX";"PHONE";"E_MAIL";"PRIORITIZED"
"123";"PSVneo";"Internet, SEO, Programmierung";"Musterweg 129";"12345";"Siegen";"12345/000000";"12345/000000";"m.muster@company.net";"1"
Google maps - API Errors
Errors occurring by using the google maps API are logged to typo3temp/var/log/psvneo_merchants.import.log
.
Merchant sync command usage
vendor/bin/typo3 psvneo_merchants:import CSVPATH PID
Arguments
Name | Description | Default |
---|---|---|
CSVPATH | The path to the import file (can be relative) | public/fileadmin/merchants.csv |
PID | The storage PID of the merchants | 255 |