Skip to content

Commit

Permalink
fix(amazon): maxPrice selector
Browse files Browse the repository at this point in the history
Resolves #1187
  • Loading branch information
jef committed Dec 6, 2020
1 parent d741578 commit 8205bf5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/store/model/amazon-ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export const AmazonCa: Store = {
text: ['add to cart']
},
maxPrice: {
container: 'span[class*="PriceString"]',
euroFormat: false
container: '#priceblock_ourprice'
}
},
links: [
Expand Down
3 changes: 1 addition & 2 deletions src/store/model/amazon-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export const AmazonEs: Store = {
text: ['añadir a la cesta']
},
maxPrice: {
container: 'span[class*="PriceString"]',
euroFormat: true
container: '#priceblock_ourprice'
},
outOfStock: [
{
Expand Down
2 changes: 1 addition & 1 deletion src/store/model/amazon-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const AmazonFr: Store = {
text: ['ajouter au panier']
},
maxPrice: {
container: 'span[class*="PriceString"]',
container: '#priceblock_ourprice',
euroFormat: true
},
outOfStock: [
Expand Down
2 changes: 1 addition & 1 deletion src/store/model/amazon-it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const AmazonIt: Store = {
text: ['Aggiungi al carrello']
},
maxPrice: {
container: 'span[class*="PriceString"]'
container: '#priceblock_ourprice'
}
},
links: [
Expand Down
2 changes: 1 addition & 1 deletion src/store/model/amazon-nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const AmazonNl: Store = {
]
},
maxPrice: {
container: 'span[class*="PriceString"]',
container: '#priceblock_ourprice',
euroFormat: true
},
outOfStock: [
Expand Down
2 changes: 1 addition & 1 deletion src/store/model/amazon-uk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const AmazonUk: Store = {
text: ['in stock']
},
maxPrice: {
container: 'span[class*="PriceString"]'
container: '#priceblock_ourprice'
},
outOfStock: [
{
Expand Down
2 changes: 1 addition & 1 deletion src/store/model/amazon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Amazon: Store = {
}
],
maxPrice: {
container: '#price_inside_buybox'
container: '#priceblock_ourprice'
}
},
links: [
Expand Down

0 comments on commit 8205bf5

Please sign in to comment.