Skip to main content
User-defined COGS from cost entries for returning customer orders—captures costs beyond Shopify product variants.

Formula

Returning Customer Other COGS = SUM ( Order Cost Entries ) WHERE category = COGS AND customer_type = returning_customer

Formula Components

MetricDefinition
Order Cost EntriesUser-defined cost entries with COGS category
customer_type = returning_customerFilters to orders from customers who have purchased before
Metadata
TypeCurrency
Data SourceUpstack Costs
AggregationSum

Example

Your returning customer orders incurred $2,650 in other COGS this month:
Cost EntryRC Total
Packaging materials$1,230
Import duties$820
Quality inspection$600
RC Other COGS$2,650

How It Works

Returning Customer Other COGS sums all cost entries categorized as COGS for repeat buyer orders. These are costs you’ve configured in Upstack—like packaging, duties, or inspection fees—that aren’t stored on Shopify product variants. Combined with RC COGS, this gives you complete product cost visibility for retention analysis.

When to Use

ScenarioAction
Complete RC cost pictureAdd to RC COGS for total product costs
Cost entry validationVerify user-defined COGS are allocating correctly
Segment comparisonCompare to NC Other COGS for differences
LTV accuracyInclude in repeat-order margin calculations

MetricRelationship
Other COGSAll customers combined
New Customer Other COGSFirst-time buyer comparison
Returning Customer COGSProduct-level costs from Shopify
Total COGSCOGS + Other COGS combined
See all COGS metrics →