{
  "product": "T-Shirt",
  "url": "https://wp2print.net/shop/t-shirt/",
  "price_page": "https://wp2print.net/shop/t-shirt/prices/",
  "currency": "USD",
  "prices_include_tax": false,
  "updated": "2025-02-07",
  "product_type": "fixed",
  "detail": "full",
  "rules": {
    "formula": "total = (printing[size,color](qty))",
    "measures": {"qty": "number of pieces"},
    "price_basis": "each price is the total for the number in its column, not a unit price",
    "lookup": "table[keys](measure) = the row whose keys match the chosen options, at the value of the measure",
    "interpolation": "linear",
    "above_max_column": "extrapolate_last_slope",
    "below_min_column": "proportional_to_first_column",
    "min_quantity": 1
  },
  "options": {"size": ["Small", "Medium", "Large", "X-Large"], "color": ["Black", "Red", "Dark Green", "White"]},
  "tables": {
    "printing": {
      "price_of": "printing",
      "priced_by": "qty",
      "columns": [1, 10, 50],
      "keys": ["size", "color"],
      "rows": [
        {"size": "Small", "color": "Black", "prices": [17, 170, 600]},
        {"size": "Small", "color": "Red", "prices": [17, 170, 600]},
        {"size": "Small", "color": "Dark Green", "prices": [17, 170, 600]},
        {"size": "Small", "color": "White", "prices": [17, 170, 600]},
        {"size": "Medium", "color": "Black", "prices": [18, 180, 640]},
        {"size": "Medium", "color": "Red", "prices": [18, 180, 640]},
        {"size": "Medium", "color": "Dark Green", "prices": [18, 180, 640]},
        {"size": "Medium", "color": "White", "prices": [18, 180, 640]},
        {"size": "Large", "color": "Black", "prices": [19, 190, 680]},
        {"size": "Large", "color": "Red", "prices": [19, 190, 680]},
        {"size": "Large", "color": "Dark Green", "prices": [19, 190, 680]},
        {"size": "Large", "color": "White", "prices": [19, 190, 680]},
        {"size": "X-Large", "color": "Black", "prices": [20, 200, 720]},
        {"size": "X-Large", "color": "Red", "prices": [20, 200, 720]},
        {"size": "X-Large", "color": "Dark Green", "prices": [20, 200, 720]},
        {"size": "X-Large", "color": "White", "prices": [20, 200, 720]}
      ]
    }
  },
  "example": {
    "input": {"size": "Small", "color": "Black", "qty": 6},
    "lines": [{"table": "printing", "qty": 6, "price": 102}],
    "subtotal": 102,
    "total": 102
  },
  "note": "Account or group pricing may differ. The price shown in the cart is authoritative.",
  "seller": {
    "name": "Acme Print Shop",
    "url": "https://wp2print.net/",
    "location": "Kittery, Maine, United States",
    "service_area": "Kittery, Eliot, York county and southern Maine"
  }
}
