<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: FullDo</title>
    <description>The latest articles on DEV Community by FullDo (@fulldo).</description>
    <link>https://dev.to/fulldo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4147180%2F48eebb4a-474d-467f-9b3f-dd1c6baaae1d.png</url>
      <title>DEV Community: FullDo</title>
      <link>https://dev.to/fulldo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fulldo"/>
    <language>en</language>
    <item>
      <title>Why a shopping cart can't price a hotel stay</title>
      <dc:creator>FullDo</dc:creator>
      <pubDate>Tue, 29 Sep 2026 07:09:02 +0000</pubDate>
      <link>https://dev.to/fulldo/why-a-shopping-cart-cant-price-a-hotel-stay-20i0</link>
      <guid>https://dev.to/fulldo/why-a-shopping-cart-cant-price-a-hotel-stay-20i0</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;While building &lt;a href="https://fulltravel.fr/" rel="noopener noreferrer"&gt;FullTravel&lt;/a&gt;, 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 correctly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Board basis&lt;/strong&gt;: room only, bed and breakfast, half board, full board. The same room has a different net rate for each.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Seasons and periods&lt;/strong&gt;: rates change by date range, and a stay that crosses two periods has to be priced night by night, not with one rate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Occupancy&lt;/strong&gt;: the rate for a room depends on how many adults are in it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Child policies&lt;/strong&gt;: "a child aged 2 to 11 sharing a room with two adults pays 50% of the adult rate" is a rule, not a price.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supplements and promotions&lt;/strong&gt;: sea view, single use, early booking, long stay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allotments and stop-sell&lt;/strong&gt;: the agency holds a number of rooms, which must be decremented on booking and released on cancellation, and a hotel can close sales on specific dates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tiered transfers and excursions with sessions&lt;/strong&gt;: a transfer price depends on the group size, an excursion has departure times with limited seats.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Packaged stays, reseller commissions, deposit and balance&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this fits in a &lt;code&gt;price&lt;/code&gt; column. The engine has to evaluate a stay as a sequence of nights, apply the right contract line to each one, then layer child policies, supplements, promotions and margin on top.&lt;/p&gt;

&lt;h2&gt;
  
  
  Letting AI read the contract, without trusting it blindly
&lt;/h2&gt;

&lt;p&gt;Contract entry is the slowest step for an agency, so FullTravel uses AI to read the hotel's PDF and propose the rate grid. Two rules made this safe to ship:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Nothing is published without a human validating it.&lt;/li&gt;
&lt;li&gt;Every extracted value keeps a reference to the line of the document it came from, so the reviewer can check the source in one click, and discrepancies are flagged.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  One catalogue, three front ends
&lt;/h2&gt;

&lt;p&gt;The same catalogue feeds the back-office, the agency's own booking site and a reseller extranet with net rates. Changing a rate once updates all three, which is what agencies actually wanted: fewer places where a price can be wrong.&lt;/p&gt;

&lt;p&gt;The stack is Symfony and PostgreSQL. If you work in travel tech, the demo is open: &lt;a href="https://fulltravel.fr/" rel="noopener noreferrer"&gt;https://fulltravel.fr/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;I'm Soumaya Khalifa, founder of &lt;a href="https://fulldo.fr/" rel="noopener noreferrer"&gt;FullDo&lt;/a&gt;, where I build websites and custom business tools for small businesses and agencies.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>saas</category>
      <category>architecture</category>
      <category>travel</category>
    </item>
  </channel>
</rss>
