Skip to content

Commit

Permalink
feat(store): add Euronics DE (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnk93 committed Nov 30, 2020
1 parent 79a3f33 commit 1774afc
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -176,6 +176,7 @@ environment variables are **optional**._
| eBuyer (UK) | `ebuyer`|
| ePrice (IT) | `eprice`|
| Euronics (IT) | `euronics`|
| Euronics (DE) | `euronics-de`|
| EVGA | `evga`|
| EVGA (EU) | `evga-eu`|
| Galaxus (DE) | `galaxus`|
Expand Down
28 changes: 28 additions & 0 deletions src/store/model/euronics-de.ts
@@ -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 changes: 2 additions & 0 deletions src/store/model/index.ts
Expand Up @@ -36,6 +36,7 @@ import {Cyberport} from './cyberport';
import {Ebuyer} from './ebuyer';
import {Eprice} from './eprice';
import {Euronics} from './euronics';
import {EuronicsDE} from './euronics-de';
import {Evga} from './evga';
import {EvgaEu} from './evga-eu';
import {Galaxus} from './galaxus';
Expand Down Expand Up @@ -112,6 +113,7 @@ export const storeList = new Map([
[Ebuyer.name, Ebuyer],
[Eprice.name, Eprice],
[Euronics.name, Euronics],
[EuronicsDE.name, EuronicsDE],
[Evga.name, Evga],
[EvgaEu.name, EvgaEu],
[Galaxus.name, Galaxus],
Expand Down

0 comments on commit 1774afc

Please sign in to comment.