Skip to content

Commit

Permalink
fix(alternate): use button selector instead of text (#2419)
Browse files Browse the repository at this point in the history
Alternate often says "in stock" while also saying that it cannot
be purchased instead of showing the cart button.
  • Loading branch information
AlexP11223 authored Apr 24, 2021
1 parent b6ac6c5 commit 35f9eb4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/store/model/alternate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ export const Alternate: Store = {
currency: '€',
labels: {
inStock: {
container: 'span.d-flex > b:nth-child(1)',
text: [
'auf lager',
'ware neu eingetroffen',
'in kürze versandfertig',
'ware im zulauf',
],
container: '.details-cart-button',
text: ['In den Warenkorb'],
},
maxPrice: {
container: '.price > span:nth-child(1)',
Expand Down

0 comments on commit 35f9eb4

Please sign in to comment.