feat(store): add Gamestop DE (#1046)

This commit is contained in:
fnk93
2020-11-30 23:00:03 +01:00
committed by GitHub
parent 796c2a52ac
commit 79a3f33150
3 changed files with 43 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
import {Store} from './store';
export const GamestopDE: Store = {
labels: {
inStock: [
{
container: '#btnAddToCart',
text: ['In den Warenkorb']
},
{
container: '#btnAddToCart',
text: ['Vorbestellen']
}
],
maxPrice: {
container: '.buySection .prodPriceCont',
euroFormat: true
},
outOfStock: {
container: '.megaButton',
text: ['Nicht verfügbar']
}
},
links: [
{
brand: 'sony',
model: 'ps5 console',
series: 'sonyps5c',
url: 'https://www.gamestop.de/PS5/Games/58665'
},
{
brand: 'sony',
model: 'ps5 digital',
series: 'sonyps5de',
url: 'https://www.gamestop.de/PS5/Games/60315'
}
],
name: 'gamestop-de',
successStatusCodes: [[0, 399], 404]
};
+2
View File
@@ -41,6 +41,7 @@ import {EvgaEu} from './evga-eu';
import {Galaxus} from './galaxus';
import {Game} from './game';
import {Gamestop} from './gamestop';
import {GamestopDE} from './gamestop-de';
import {Kabum} from './kabum';
import {Mediamarkt} from './mediamarkt';
import {MemoryExpress} from './memoryexpress';
@@ -116,6 +117,7 @@ export const storeList = new Map([
[Galaxus.name, Galaxus],
[Game.name, Game],
[Gamestop.name, Gamestop],
[GamestopDE.name, GamestopDE],
[Kabum.name, Kabum],
[Mediamarkt.name, Mediamarkt],
[MemoryExpress.name, MemoryExpress],