Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

A size sold less and suppliers raised prices. What should you reorder?

Sales alone can make a size with long stockouts look unpopular. Current cost can mix old inventory with a new supplier quote. Connect selling availability, stock and incoming units, supplier terms and case constraints before recommending a purchase.

WESWOO · · 简体中文

Proceed by evidence
ObservationNext action
Start with every relevant variantReconcile catalog and sales in both directions, retaining zero-sale, discontinued and unresolved rows.
Reconcile usable stock, incoming stock and demandEvery quantity has a date, location and source; committed and incoming units are not counted twice.
Track the recommendation through receiptLink recommendation, approval, purchase, receipt and invoice; assess outcomes only from subsequent observed records.

A WESWOO replenishment review informed by merchant discussions of size demand and multiple suppliers. We did not obtain stock histories, purchasing contracts or financial cost records. Proposed quantities, examples and forum replies are not measured procurement outcomes.

Use the review record

The workbook contains a blank record and an illustrative example. Fill the scope, observations, evidence, owner and next review. Unsupported results stay unverified.

Download the editable record and example (Excel)

This combined workbook contains six workflows, each with a blank and illustrative sheet. Choose the pair matching this article.

A WESWOO replenishment review informed by merchant discussions of size demand and multiple suppliers. We did not obtain stock histories, purchasing contracts or financial cost records. Proposed quantities, examples and forum replies are not measured procurement outcomes.

Start with every relevant variant

List active, discontinued, out-of-stock and zero-sale variants with stable IDs, SKUs and options. A sales-only report omits variants without sales. Preserve historical titles where they changed rather than rewriting old orders with today’s names.

How to verify: Reconcile catalog and sales in both directions, retaining zero-sale, discontinued and unresolved rows.

Distinguish low sales from unavailable stock

Compare sales with available selling days, market publication, promotions and prices. Lower sales may reflect longer stockouts. Without availability history, record the gap; sales divided by calendar days does not establish demand or all lost orders.

How to verify: Compare variants with different availability and label observed sales separately from inferred demand.

Reconcile usable stock, incoming stock and demand

List available, committed, damaged and incoming units plus outstanding demand by location. State which fields the recommendation uses. Incoming stock is not available today; total stock alone cannot prove an older batch sold through. Establish the gap before ordering quantities.

How to verify: Every quantity has a date, location and source; committed and incoming units are not counted twice.

Keep cost evidence by supplier and receipt

Record supplier, currency, quote expiry, quantity and treatment of freight and taxes. Shopify records cost per item when an order is created; later edits do not rewrite old order costs. Keep purchase and receipt detail for supplier comparison instead of treating a new quote as every batch’s cost.

How to verify: Distinguish quotations, receipts and historical order costs; show sales with missing cost separately.

Translate the gap into a valid purchase quantity

Confirm units before applying minimums and case multiples. For an illustrative need of 13 units, minimum 10 and six per case, full-case ordering yields 18. This is arithmetic, not a store recommendation. Zero demand should not trigger the minimum; unknown pack units prevent a firm quantity.

How to verify: Check demand, minimums and packaging together, including zero-demand and unknown-unit controls.

Track the recommendation through receipt

Attach demand evidence, lead-time assumptions and approval ownership. Purchase orders record commercial terms; linked transfers track movement. Record shortages, delays and price changes separately. Reconcile receipts and invoices, then review stockouts and excess over a comparable period.

How to verify: Link recommendation, approval, purchase, receipt and invoice; assess outcomes only from subsequent observed records.

A purchase recommendation still needs stock history and supplier records

Merchant discussions identify size-demand and supplier-cost problems; current documentation establishes the scope of cost fields and purchase orders. No actual receipts, daily availability or supplier quotes were obtained and no purchase order was created. Rounding an illustrative need of 13 to 18 units explains a rule only; real quantities, costs and outcomes remain unverified.

Download the observations and test scope (JSON)

Continue with the relevant checks

How much of April’s stock is still here after a later delivery?

A merchant wanted to identify items sitting on the shelf for six months before marking them down. For a SKU replenished later, the product creation date and last receipt date each show one event. Either alone can put fresh stock in a clearance group.

Without lot-level sales, bound the old stock. The minimum is old units less total sales, floored at zero. The maximum cannot exceed either original old units or total units remaining.

Ten old units and six new units arrived at one location before eight units sold. Eight remain. Selling old units first leaves two old units. Selling new units first leaves eight old units. The two receipt dates do not determine where the true count lies.

This example excludes returns, transfers and count adjustments. Lot scans or a physical lot count can narrow the range. When sales and receipts interleave, reconstruct which lots were available at each sale first.

How a change in the records affects the result
Sample conditionsResult
Sixteen across two lots, eight soldTwo to eight old units remain
Ten old units only, eight soldExactly two old units remain
Neither lot soldTen old units remain
Source: Shopify Community · Merchant questionSource: Shopify · Inventory adjustment historySource: Shopify · Inventory transfers and shipments
Inspect the example records and SQL

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE counts(old_lot INT,new_lot INT,sold_since INT);
INSERT INTO counts VALUES (10,6,8);

SELECT old_lot+new_lot-sold_since AS remaining,MAX(0,old_lot-sold_since) AS old_min,
 MIN(old_lot,old_lot+new_lot-sold_since) AS old_max FROM counts;

Download the example record (JSON)

Sources

Shopify Community · Merchant question

Shopify · Inventory adjustment history

Shopify · Inventory transfers and shipments

Back to the topic questions

Two suppliers charge $8 and $12 for the same SKU. Which average makes sense?

A poster asked how to track seasonal prices when purchasing the same item from different suppliers. Averaging the two quoted prices gives a small top-up the same weight as a large receipt.

For the average acquisition cost of these two receipts, multiply each accepted quantity by its actual unit price, sum the amounts and divide by total units. Keep supplier, receipt date, currency and price. A quote alone supplies no received quantity.

A ships ten units at $8 and B ships thirty at $12. The forty units cost $440, or $11 per unit. With equal quantities, the simple $10 average would match the quantity-weighted figure.

The example covers just the purchase price of two receipts in the same currency for the same variant. Valuing all stock on hand also needs opening stock and movement records. Shopify defines its own cost-per-item and profit reports. Check those definitions for historical order margins.

How a change in the records affects the result
Sample conditionsResult
Ten and thirty units$11 per unit
Ten units each$10 per unit
B’s price is missingUnits known, average pending
Source: Reddit · Merchant questionSource: Shopify · Cost per itemSource: Shopify · Profit reports
Inspect the example records and SQL

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE receipt(supplier TEXT,units INT,unit_cost INT);
INSERT INTO receipt VALUES ('A',10,800),('B',30,1200);

SELECT SUM(units) AS units, CASE WHEN COUNT(unit_cost)=COUNT(*) THEN SUM(units*unit_cost) END AS total_cost,
 CASE WHEN COUNT(unit_cost)=COUNT(*) THEN ROUND(1.0*SUM(units*unit_cost)/NULLIF(SUM(units),0),2) END AS cents_per_unit FROM receipt;

Download the example record (JSON)

Sources

Reddit · Merchant question

Shopify · Cost per item

Shopify · Profit reports

Back to the topic questions

M sold ten units and 2X sold six. Should I reorder more M?

A womenswear merchant suspected 2X was her strongest size and wanted to check before reordering. A sales ranking tells her what sold. Once 2X sells out, subsequent shoppers cannot add to that size’s total.

Compare net units sold and days actually available in the same style and channel, then calculate units per in-stock day. Distinguish sizes with different launch dates, promotions, returns or replenishment lead times.

Over ten sample days M was available throughout and sold ten, or one per available day. 2X sold six in two available days, or three per available day. If 2X was actually buyable all ten days, the rate becomes 0.6 and the comparison reverses.

Count days buyable on the target channel. If only daily snapshots exist, record that approximation. Use hours for short availability windows. Two days of observed selling speed do not establish a future sales forecast.

How a change in the records affects the result
Sample conditionsResult
2X available two daysThree per available day versus one for M
2X available ten days0.6 per available day
Never availableIn-stock sales rate is undefined
Source: Shopify Community · Merchant questionSource: Shopify · Product inventory analyticsSource: Shopify · Sales reports
Inspect the example records and SQL

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE size_week(size TEXT,units INT,in_stock_days INT);
INSERT INTO size_week VALUES ('2X',6,2),('M',10,10);

SELECT size,units,in_stock_days,ROUND(1.0*units/NULLIF(in_stock_days,0),2) AS units_per_stock_day FROM size_week ORDER BY size;

Download the example record (JSON)

Sources

Shopify Community · Merchant question

Shopify · Product inventory analytics

Shopify · Sales reports

Back to the topic questions

Which products went a whole month without selling a single size?

A merchant wanted products for which no variant had sold during a chosen period. This matters before making room on a shelf. A sales export starts with transactions, so even its lowest-ranked product might have sold once.

Start with the products under review and look for the ones with no purchase. If even the medium T-shirt sold, the style had a buyer that month. A later return does not erase that purchase.

1. Fix the store time zone, period and sales channels. List every variant ID for each style in scope. Mark recent launches and stockouts separately so that two days on sale are visible when you review the result.

2. Match positive purchase lines to variants, then group by product. In the October example, a tee sold and came back, a hat sold on September 30 and a mug sold on November 1. Only the hat and mug qualify.

3. Check a known seller against the list and investigate unmatched sales lines. Changed SKUs, deleted variants or incomplete channel data can hide a purchase. Resolve the affected mapping before classifying the style.

Test results
Sample conditionObserved result
Tee sold and fully returnedOnly hat and mug on the zero-purchase list
Add an October 1 hat saleOnly mug
Move the only tee purchase to SeptemberHat, mug and tee
Reasoning and conditions

Shopify explains how sales and reversals are measured. This exercise tests finding zero purchases in a supplied catalog using independent records. Listing time and availability still matter for a clearance decision.

Source: Reddit · Merchant questionSource: Shopify · Sales reportsSource: Shopify · Analytics field definitions
View the records and verification query

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE catalog(product TEXT,variant TEXT PRIMARY KEY);
INSERT INTO catalog VALUES ('Mug','M1'),('Hat','H1'),('Tee','T1'),('Tee','T2');
CREATE TABLE event(variant TEXT,day TEXT,kind TEXT,qty INT);
INSERT INTO event VALUES ('T1','2026-10-10','sale',1),('T1','2026-10-15','return',1),
 ('H1','2026-09-30','sale',1),('M1','2026-11-01','sale',2);

SELECT c.product FROM catalog c GROUP BY c.product
HAVING NOT EXISTS (
 SELECT 1 FROM catalog v JOIN event e ON e.variant=v.variant
 WHERE v.product=c.product AND e.kind='sale' AND e.qty>0
 AND e.day>='2026-10-01' AND e.day<'2026-11-01'
) ORDER BY c.product;

Download the example record (JSON)

Sources

Reddit · Merchant question

Shopify · Sales reports

Shopify · Analytics field definitions

Back to the topic questions

A deleted product shows up without a title. Can I trace its sales?

A merchant reviewing discontinued products found sales amounts beside empty product fields. Filtering out the blank row also removed money from the month's result. The task is to recover the attribution the records support while preserving the total.

Keep the amount. Duplicate the report and change only the field used to group titles. A current title describes today's catalog. A sale-time title describes the item the shopper bought. See how much each field can identify.

1. Record the dates, channels, currency, sales metric and total before filtering titles. Switch the dimension to Product title at time of sale. For a variant breakdown, use the sale-time variant title as well. Keep the original report for comparison.

2. Compare the same records. Three example merchandise lines total $80. Current titles leave $40 unnamed. Sale-time titles recover $30 for a canvas bag, leaving $10 unidentified. The total should still be $80.

3. Trace the remaining $10 to an original order line, archived export or dated receipt. Restore a name only when you can identify the line. Check IDs for namesakes. Renaming the active tee again should leave the historical amounts intact.

Test results
Sample conditionObserved result
Current titles leave $40 unnamedSale-time titles recover $30, leaving $10
Recover the missing original lineThe three amounts still total $80
Rename the active tee againIts $40 stays under the original sale-time name
Reasoning and conditions

The official field definitions identify the right dimensions. The additional check here reconciles the total and unassigned balance before and after regrouping. The $80 is merchandise in an independent example. Keep your own report metric constant.

Source: Shopify Community · Merchant questionSource: Shopify · Analytics field definitionsSource: Shopify · Sales reports
View the records and verification query

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE catalog(id TEXT PRIMARY KEY,title TEXT);
INSERT INTO catalog VALUES ('T','Tee 2.0');
CREATE TABLE sold(id TEXT, sale_title TEXT,cents INT);
INSERT INTO sold VALUES ('T','Classic Tee',4000),('B','Canvas Bag',3000),('X',NULL,1000);

SELECT COALESCE(s.sale_title,'[unknown]') AS sale_title,
 COALESCE(c.title,'[no current title]') AS current_title, SUM(s.cents) AS line_cents
FROM sold s LEFT JOIN catalog c ON c.id=s.id
GROUP BY s.sale_title,c.title ORDER BY s.sale_title,c.title;

Download the example record (JSON)

Sources

Shopify Community · Merchant question

Shopify · Analytics field definitions

Shopify · Sales reports

Back to the topic questions

Sales are there but some are missing from gross profit. How do I explain last month's margin?

WESWOO troubleshooting and acceptance procedure

A shop entered product costs after making sales and still couldn't find the expected historical profit. When asked what the month earned, it is easy to treat missing cost as zero, or to apply today's purchase cost to last month's goods.

Show sales with documented costs, their gross profit, and sales still uncosted. Of 110 in example sales, only 70 have supported costs, generating 40 of known profit. Dividing 40 by 110 would misstate the month's margin.

  1. List order lines lacking cost

    Export period sales lines, quantities, currency and net merchandise sales with consistent discount and return rules. Check which variants had a cost at sale, then list the missing order lines.

  2. Find the cost effective at sale

    Look up purchase, receipt or cost records effective on the sale date. Accept one supported unit cost per line. A documented zero-cost item can count. A missing cost or two overlapping cost records need purchasing review.

  3. Recalculate evidenced profit separately

    Sum line revenue less quantity times cost across supported lines. Recovering M's period cost of 17 raises known gross profit from 40 to 63 and brings covered sales to 110. Keep the source evidence with the reconstruction.

  4. Separate historical reconstruction from future capture

    Save the original report before adding costs, then check a subsequent sale for cost capture. Reconstruct the old period separately using historically valid costs and disclose coverage. State whether returns, shipping revenue, fees and FX are outside the worksheet. Leave unsupported costs unresolved rather than entering zero and inflating profit.

Follow the result

Old orders still lack profit after costs are added
Reconstruct historical costs separately; do not claim the native report is repaired.
Documented zero costs mixed with unknown costs
Distinguish them; only evidenced zero values belong in verified calculations.

Confirm completion Deliver the original report, reconstructed worksheet and uncovered-sales list with reconciled totals. Identify gross profit separately from profit after all expenses.

Adding costs did not restore the reported history

crowned1 reported sales without profit. In 2025, melmedley added that entering all product costs still left earlier orders at zero. No historical-report recovery was reported.

This negative result is consistent with the documented cost-at-sale basis. Our reconstruction does not rewrite native historical reports.

crowned1 / melmedley · Shopify Community · 2022 / 2025
Test results
Sample conditionObserved result
Calibrate against Shopify’s worked example, net sales 50 and cost 30Known profit 20, all sales covered, margin 40%
M has a cost only for next monthSales 110, covered sales 70, known profit 40
M's supported period cost is 17Covered sales 110, known profit 63
Evidence for the free item's zero cost disappearsCovered sales fall to 60, known profit to 30
Two T costs overlapOnly 10 in sales and 10 in profit remain supported
Reasoning and conditions

Shopify's profit reports depend on costs at the time of sale. The fixture reconstructs a separate schedule using positive sales in one currency. Completing it does not rewrite Shopify's historical report.

Source: Shopify Community · Merchant questionSource: Shopify · Profit reports
View records and verification query

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE sale(line TEXT PRIMARY KEY,sku TEXT,day TEXT,qty INT,net_cents INT);
CREATE TABLE evidence(sku TEXT,start_day TEXT,end_day TEXT,unit_cost INT,PRIMARY KEY(sku,start_day));
INSERT INTO sale VALUES ('a','T','2026-10-02',2,6000),('b','M','2026-10-03',1,4000),('c','G','2026-10-03',1,1000);
INSERT INTO evidence VALUES ('T','2026-10-01','2026-11-01',1500),('M','2026-11-01','2026-12-01',1800),('G','2026-10-01','2026-11-01',0);

WITH per_line AS (SELECT s.*,CASE WHEN COUNT(e.unit_cost)=1 AND COUNT(e.sku)=1 THEN MAX(e.unit_cost) END AS cost FROM sale s
 LEFT JOIN evidence e ON e.sku=s.sku AND s.day>=e.start_day AND s.day<e.end_day GROUP BY s.line)
SELECT SUM(net_cents),SUM(CASE WHEN cost IS NOT NULL THEN net_cents ELSE 0 END),
 SUM(CASE WHEN cost IS NOT NULL THEN net_cents-qty*cost END),SUM(cost IS NULL) FROM per_line;

Download the example record (JSON)

Sources

Shopify Community · Merchant question

Shopify · Profit reports

Back to the topic questions

We need 13 pieces, cartons hold six and the minimum is ten. How many do we order?

A merchant scanning stock on an iPad saw the PO rise by one per scan, while suppliers shipped cartons of six or twelve. An MOQ metafield alone does not tell staff whether it holds minimum pieces, minimum cases or pieces per case.

Convert to pieces first. Take the larger of demand 13 and minimum 10, then round up to a multiple of six. Order 18 pieces or three cartons. Keep zero-demand rows at zero.

For each supplier and variant record the demand gap, minimum with unit, and case size. Confirm split-case permission and whether the minimum applies to the whole PO. Either can change the calculation.

Align PO quantity and supplier pricing units. For a per-piece price enter 18 pieces and note three cartons. For a per-carton quote enter three only in a carton-based field. Treat a scan as one carton only when its barcode identifies the carton.

Before submitting, check that units cover demand, meet the piece minimum and divide evenly by the case size. Hold unclear units or case sizes and verify conversion and total against the supplier acknowledgment.

Test results
Sample conditionObserved result
Need 13, minimum 10, case of 6Order 18, other zero-demand SKU stays 0
Minimum rises to 20 piecesOrder 24
Need exactly 12 piecesOrder 12
Minimum stated in cases, conversion unconfirmedHold quantity for unit review
Reasoning and conditions

This is a preflight for a positive-demand, full-case purchase. It does not test metafield display in the iPad or native PO interface, or assume scanning increments by a case.

Source: Reddit · Merchant questionSource: Purchase orders
Inspect sample records and query

Run the setup and query in an empty SQLite database. The rows are synthetic.

CREATE TABLE request(sku TEXT PRIMARY KEY,need INT,minimum INT,pack INT,unit_basis TEXT);
INSERT INTO request VALUES ('Blue',13,10,6,'each'),('Red',0,12,6,'each');

SELECT sku,CASE WHEN need=0 THEN 0 WHEN need<0 OR minimum<0 OR minimum IS NULL OR pack IS NULL OR pack<1 OR unit_basis<>'each' OR unit_basis IS NULL THEN NULL
 ELSE ((MAX(need,minimum)+pack-1)/pack)*pack END AS order_units FROM request ORDER BY sku;

Download the example record (JSON)

Sources

Reddit · Merchant question

Purchase orders

Back to the topic questions

Checks by symptom