Handling of "discounts-only" stores like LIDL and PENNY
badlogic opened this issue · 0 comments
badlogic commented
LIDL and Penny both only show currently discounted products in the online shops.
When we fetch new data from them, we merge the latest sortiment with what we recorded before. This leads to "orphaned" items, which are no longer available on the website.
To handle this, these types of stores get a flag removeOld
in site/model/stores.js
. mergePriceHistory()
will then remove any items which are not in the latest data from the site.