psvneo / t3-extension-merchants
This extension adds a plugin to list merchant records.
5.1.2
2024-02-19 11:47 UTC
Requires
- php: ^8.1
- parsecsv/php-parsecsv: ^1.3
- sinso/app-routes: ^1.4
- sjbr/static-info-tables: ^11.5
- typo3/cms-core: ^11.5
Requires (Dev)
- psvneo/qa-toolset-t3: ^1.1
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.
- Navigate to the root of the extension and run:
# This requires docker and docker-compose
composer build && composer build-fe
Import file structure
"ID";"TITLE";"SUBTITLE";"ADDRESS";"ZIP";"CITY";"FAX";"PHONE";"E_MAIL";"WEBSITE";"PRIORITIZED";"CATEGORIES"
"123";"PSVneo";"Internet, SEO, Programmierung";"Martinshardt 5";"57074";"Siegen";"12345/000000";"12345/000000";"m.muster@company.net";"https://psv-neo.de";"1";"Händler,Kategorie2,Kategorie3"
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 |