{
  "id": 10632815,
  "title": "Why a shopping cart can't price a hotel stay",
  "url": "https://urgent.news/2026/09/29/why-a-shopping-cart-cant-price-a-hotel-stay",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-29T07:09:02.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fulldo/why-a-shopping-cart-cant-price-a-hotel-stay-20i0"
  },
  "original_language": "en",
  "account": "Trying to sell hotel stays through a typical e-commerce platform proves difficult. Unlike products with fixed prices, hotel nights come with contracts. When building FullTravel, a SaaS for independent agencies and tour operators, I needed to understand the various elements of hotel pricing before quoting a stay correctly. These include board basis (room only, bed and breakfast, etc.), seasons and periods (rates vary by date range), occupancy (rates differ based on the number of adults), child policies (children aged 2-11 sharing a room with two adults pay half the adult rate), supplements and promotions (sea view, single use, early booking, long stay), allotments and stop-sell (agency holds a certain number of rooms), and tiered transfers and excursions with limited seats.\n\nBuilding a pricing engine that can accurately quote hotel stays is no simple task. It requires modeling a wide range of contract lines for each night, applying the appropriate rules, and then adding child policies, supplements, promotions, and margin on top. Using AI to read hotel contracts speeds up the process for agencies but requires safeguards. FullTravel uses AI to read the hotel's PDF and propose a rate grid, with strict validation rules and reference tracking to ensure accuracy. Having a single, unified catalogue that feeds multiple front ends - back-office, agency's booking site, and reseller extranet - reduces the chances of pricing errors. The technology stack is Symfony and PostgreSQL. FullTravel's demo is available online for those interested in travel tech.",
  "summary": "If you have ever tried to sell hotel stays through a regular e-commerce stack, you hit the wall fast. A product has a price. A hotel night does not: it has a contract. While building FullTravel , a SaaS for independent inbound agencies and tour operators, I had to model what hotels actually send. Here is the list of concepts a pricing engine has to understand before it can quote a single stay…",
  "key_points": [
    "Hotel pricing involves complex contracts with various rules",
    "AI helps read contracts but requires validation safeguards",
    "Unified catalogue for multiple front ends reduces pricing errors"
  ],
  "editors_take": "Accurately pricing hotel stays requires complex contract modeling and validation to account for variables like occupancy, supplements, and promotions, making a simple e-commerce platform inadequate for the task.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}