feat(store): add Euronics DE (#1045)

This commit is contained in:
fnk93
2020-11-30 23:00:30 +01:00
committed by GitHub
parent 79a3f33150
commit 1774afc1c3
3 changed files with 31 additions and 0 deletions
+1
View File
@@ -176,6 +176,7 @@ environment variables are **optional**._
| eBuyer (UK) | `ebuyer`| | eBuyer (UK) | `ebuyer`|
| ePrice (IT) | `eprice`| | ePrice (IT) | `eprice`|
| Euronics (IT) | `euronics`| | Euronics (IT) | `euronics`|
| Euronics (DE) | `euronics-de`|
| EVGA | `evga`| | EVGA | `evga`|
| EVGA (EU) | `evga-eu`| | EVGA (EU) | `evga-eu`|
| Galaxus (DE) | `galaxus`| | Galaxus (DE) | `galaxus`|
+28
View File
@@ -0,0 +1,28 @@
import {Store} from './store';
export const EuronicsDE: Store = {
labels: {
inStock: {
container: '.buy-btn--cart-text',
text: ['Warenkorb']
},
maxPrice: {
container: '.price--content',
euroFormat: true
},
outOfStock: {
container: '.product--buybox .alert--content',
text: ['Artikel steht derzeit nicht zur Verfügung']
}
},
links: [
{
brand: 'microsoft',
model: 'xbox series s',
series: 'xboxss',
url:
'https://www.euronics.de/spiele-und-konsolen-film-und-musik/spiele-und-konsolen/xbox-series-x/spielekonsole/xbox-series-s-512gb-konsole-4061856838076'
}
],
name: 'euronics-de'
};
+2
View File
@@ -36,6 +36,7 @@ import {Cyberport} from './cyberport';
import {Ebuyer} from './ebuyer'; import {Ebuyer} from './ebuyer';
import {Eprice} from './eprice'; import {Eprice} from './eprice';
import {Euronics} from './euronics'; import {Euronics} from './euronics';
import {EuronicsDE} from './euronics-de';
import {Evga} from './evga'; import {Evga} from './evga';
import {EvgaEu} from './evga-eu'; import {EvgaEu} from './evga-eu';
import {Galaxus} from './galaxus'; import {Galaxus} from './galaxus';
@@ -112,6 +113,7 @@ export const storeList = new Map([
[Ebuyer.name, Ebuyer], [Ebuyer.name, Ebuyer],
[Eprice.name, Eprice], [Eprice.name, Eprice],
[Euronics.name, Euronics], [Euronics.name, Euronics],
[EuronicsDE.name, EuronicsDE],
[Evga.name, Evga], [Evga.name, Evga],
[EvgaEu.name, EvgaEu], [EvgaEu.name, EvgaEu],
[Galaxus.name, Galaxus], [Galaxus.name, Galaxus],