cander / booze-hound

2 stars 0 forks source link

For inventory at a single store extract the quantity if it's provided #203

Closed cander closed 4 months ago

cander commented 4 months ago

Background

When fetching inventory for a bottle, if it's only available at a single store, the output is completely different, and we handle that. However, it turns out, there are two forms of the "different". That page includes a string in a div called in-stock that can look like:

This is a special order item, please call store for availability.

which is what we were initially expecting. Or, sometimes it says:

6 Bottles In Stock!</h2><p>Product quantity is updated on a daily basis, please call to confirm availability.

Acceptance Criteria

Approach

Notes