Skip to content
Snippets Groups Projects
Henry Wittig's avatar
Henry Wittig authored
Breaking/typo3 v12 support

See merge request riconet-public/typo3/psvneo_merchants!70
48b0a3e2

Merchant List

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 composer require psvneo/t3-extension-merchants.
  • 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 -