Which jacket can go in the cart?

This is a synthetic teaching fixture. The observations are supplied examples, not an actual WooCommerce, browser or order trace. Each row starts with an empty cart and the same fixed stock. The reference assumes enabled, priced variations, exact attribute pairs, a zero stock threshold, no reservations and no extra purchase rules.

Open products.csv, variations.csv and observations.csv in your spreadsheet. For each case, find the chosen colour and size first. Write its expected variation ID, which row controls quantity, expected result and first disagreement into the worksheet. Compare with answer-key.txt after making a prediction.

The CSV field names stay identical for all editions. Stock owner parent uses the single shared TRAIL pool. Stock owner self uses the quantity and policy on the variation. deny refuses demand above the available count. notify allows a backorder with notice. These simplified outcomes are the fixture’s rule set. Never add shared pool quantities across different sizes.

The optional self-contained check.py uses Python 3 and reads only these local files. Run python check.py from the extracted folder to print the reference comparison. It sends no requests. On a private shop copy a live UI can return other messages. Record the first divergence and stop at adding a test item to a test cart.

Reading the answer key: added = the exact item enters the test cart. refused = the request is rejected. no_match = the pair has no variation. backorder = the item can be ordered for later supply. submitted_id marks the first disagreement. none means the observation agrees with this fixture.

Use workbook-en.txt for the guided exercise and worked answers. Fill in worksheet-en.csv for all seven cases. Use field-notes-en.txt to test direct selection against switching sizes and hand the evidence to the right person.
