mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 06:27:38 +00:00
fix: gamestop false positives (#395)
Fixed issue where gamestop would generate false positives because the string add to cart was still included even when there was no stock available. Just added the outOfStock label to look for not available, which is actually displayed on the button.
This commit is contained in:
@@ -5,6 +5,10 @@ export const Gamestop: Store = {
|
||||
inStock: {
|
||||
container: '.add-to-cart',
|
||||
text: ['add to cart']
|
||||
},
|
||||
outOfStock: {
|
||||
container: '.add-to-cart',
|
||||
text: ['not available']
|
||||
}
|
||||
},
|
||||
links: [
|
||||
|
||||
Reference in New Issue
Block a user