Closed Lhn94 closed 1 year ago
Good idea! My stopped working and I just restored it. I'm behind a lot of work. I will try to do this soon enough.
Done, let me know if it doesn't work. If products with over 1000 "solds" are a problem, send me a screenshot of the item. In my language they are set as "1,2mil vendidos".
Doesn't seem to work on shopee.vn. @icetbr Could you double check it?
Fixed in 1.1.1. If anybody wants a fix for their country, send me a screenshot or something so I can know the number format Shopee uses:
/home/ddv/dev/projects/webext-shopee-advanced-search/src/content.js:16
assert.equal(parseNumber('Đã bán 13,7k'), 13700);
assert.equal(parseNumber('5,2mil vendidos'), 5200);
assert.equal(parseNumber('20 sold'), 20);
assert.equal(parseNumber(''), NaN);
assert.equal(parseNumber(null), NaN);
Hi icetbr, Thank you so much for this script. Could I request that a feature to filter for only items with a minimum number of sold times? For example, only show items that have been sold at least 10 times. Example attached.