psvneo / t3-extension-merchants
This extension adds a plugin to list merchant records.
6.0.0
2024-11-14 13:03 UTC
Requires
- php: ^8.1
- parsecsv/php-parsecsv: ^1.3
- sinso/app-routes: ^2.0
- sjbr/static-info-tables: ^12.4
- typo3/cms-backend: ^12.4
- typo3/cms-core: ^12.4
- typo3/cms-extbase: ^12.4
- typo3/cms-fluid: ^12.4
- typo3/cms-frontend: ^12.4
Requires (Dev)
- psvneo/qa-toolset-t3: ^2.0
- typo3/cms-fluid-styled-content: ^12.4.2
README
Description
This extension adds a plugin to list merchant records and a command to import merchant data of a .CSV file. You can also use HubSpot to import merchant data.
How to install?
- Install the extension via composer
- Include the static typoscript file.
Import file structure
"ID";"TITLE";"SUBTITLE";"ADDRESS";"LATITUDE";"LONGITUDE";"ZIP";"CITY";"FAX";"PHONE";"EMAIL";"WEBSITE";"PRIORITIZED";"CATEGORIES"
"123";"PSVneo";"Internet, SEO, Programmierung";"Martinshardt 5";"50.850960";"8.032210";"57074";"Siegen";"12345/000000";"12345/000000";"m.muster@company.net";"https://psv-neo.de";"1";"Category A,Category B"
Google maps - API Errors
Errors occurring by using the google maps API are logged to
typo3temp/var/log/psvneo_merchants.import.log
.
How to import Merchants via .CSV file
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 |
How to import Merchants via HubSpot API
Navigate to the list module and select the root page (0). Create a new "HubSpot config" record.
After you fill out all required fields, you can import the merchant data by running the following command:
vendor/bin/typo3 psvneo_merchants:hubspot:fetch CONFIG_UID
Arguments
Name | Description | Default |
---|---|---|
CONFIG_UID | The UID of your config record | - |