{
  "product": "Postcard Virtual",
  "url": "https://wp2print.net/shop/political-postcard/",
  "price_page": "https://wp2print.net/shop/political-postcard/prices/",
  "currency": "USD",
  "prices_include_tax": false,
  "updated": "2026-01-23",
  "product_type": "fixed",
  "detail": "full",
  "rules": {
    "formula": "total = (printing[size,color](qty) + folding[size,folding](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": ["A1", "A2"], "color": ["Black", "White"], "folding": ["Z-fold", "Gate-fold", "Half-fold"]},
  "tables": {
    "printing": {
      "price_of": "printing",
      "priced_by": "qty",
      "columns": [1, 10, 100],
      "keys": ["size", "color"],
      "rows": [
        {"size": "A1", "color": "Black", "prices": [2, 20, 200]},
        {"size": "A1", "color": "White", "prices": [3, 30, 300]},
        {"size": "A2", "color": "Black", "prices": [4, 40, 400]},
        {"size": "A2", "color": "White", "prices": [5, 50, 500]}
      ]
    },
    "folding": {
      "price_of": "Folding",
      "priced_by": "qty",
      "columns": [1, 10, 100],
      "keys": ["size", "folding"],
      "rows": [
        {"size": "A1", "folding": "Z-fold", "prices": [0, 0, 0]},
        {"size": "A1", "folding": "Gate-fold", "prices": [0, 0, 0]},
        {"size": "A1", "folding": "Half-fold", "prices": [0, 0, 0]},
        {"size": "A2", "folding": "Z-fold", "prices": [0, 0, 0]},
        {"size": "A2", "folding": "Gate-fold", "prices": [0, 0, 0]},
        {"size": "A2", "folding": "Half-fold", "prices": [0, 0, 0]}
      ]
    }
  },
  "example": {
    "input": {"size": "A1", "color": "Black", "folding": "Z-fold", "qty": 6},
    "lines": [{"table": "printing", "qty": 6, "price": 12}, {"table": "folding", "qty": 6, "price": 0}],
    "subtotal": 12,
    "total": 12
  },
  "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"
  }
}
