diff --git a/index.js b/index.js index 48c6f9e..7d22b5b 100644 --- a/index.js +++ b/index.js @@ -108,7 +108,7 @@ api.getItems = function(category, callback) { link: link, description: $('.description').text(), addCartURL: addCartURL, - price: parseInt(($('.price')[0].children[0].children[0].data).replace('$', '').replace(',', '')), + price: parseInt(($('.price')[0].children[0].children[0].data).replace('$', '').replace('€','').replace(',', '')), image: image, sizesAvailable: sizesAvailable, images: [], @@ -194,7 +194,7 @@ api.getItem = function(itemURL, callback) { link: itemURL, description: $('.description').text(), addCartURL: addCartURL, - price: parseInt(($('.price')[0].children[0].children[0].data).replace('$', '').replace(',', '')), + price: parseInt(($('.price')[0].children[0].children[0].data).replace('$', '').replace('€','').replace(',', '')), image: 'http:' + $('#img-main').attr('src'), sizesAvailable: sizesAvailable, images: [],