Skip to content

Commit 7be9661

Browse files
committed
Added missing info hint how to enable reichelt provider
1 parent d176b68 commit 7be9661

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

docs/usage/information_provider_system.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,18 @@ The following env configuration options are available:
235235
completeness (prioritizing items with the most detailed information). If set to 'M', it further sorts by manufacturer name.
236236
If set to any other value, no sorting is performed.
237237

238+
### Reichelt
239+
240+
The reichelt provider uses webscraping from [reichelt.com](https://reichelt.com/) to get part information.
241+
This is not an official API and could break at any time. So use it at your own risk.
242+
243+
The following env configuration options are available:
244+
* `PROVIDER_REICHELT_ENABLED`: Set this to `1` to enable the Reichelt provider
245+
* `PROVIDER_REICHELT_CURRENCY`: The currency you want to get prices in. Only possible for countries which use Non-EUR (optional, default: `EUR`)
246+
* `PROVIDER_REICHELT_COUNTRY`: The country you want to get the prices for (optional, default: `DE`)
247+
* `PROVIDER_REICHELT_LANGUAGE`: The language you want to get the descriptions in (optional, default: `en`)
248+
* `PROVIDER_REICHELT_INCLUDE_VAT`: If set to `1`, the prices will be gross prices (including tax), otherwise net prices (optional, default: `1`)
249+
238250
### Custom provider
239251

240252
To create a custom provider, you have to create a new class implementing the `InfoProviderInterface` interface. As long

src/Services/InfoProviderSystem/Providers/ReicheltProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function getProviderInfo(): array
5959
'name' => 'Reichelt',
6060
'description' => 'Webscrapping from reichelt.com to get part information',
6161
'url' => 'https://www.reichelt.com/',
62-
'disabled_help' => 'TODO'
62+
'disabled_help' => 'Set PROVIDER_REICHELT_ENABLED env to 1'
6363
];
6464
}
6565

0 commit comments

Comments
 (0)