# Spec Delta ## Purpose Describes how the website stores, gates and presents its hosting plans (currently mIT Start and mIT Mid), as an interim product catalogue that follows the central catalogue model (PLATFM-3). ## ADDED Requirements ### Requirement: Product records follow the central catalogue model The CMS SHALL store each plan as a product record with a stable slug, a product type (hosting or managed service), a lifecycle status (draft, internal, publishable, active, retired), localized public fields (audience, short description, key features, call to action), a required net price with its billing period, and a service definition (storage, mail storage, domains, databases, mailboxes, backup, SSL, spam filtering). Prices and service figures SHALL match the central product catalogue (PLATFM-14). Internal operations data SHALL NOT be stored in or exposed by the website. #### Scenario: An administrator creates a plan - **WHEN** an administrator creates a hosting product with the required fields - **THEN** the CMS SHALL persist it with its status, public fields and service definition #### Scenario: A plan is saved without a price - **WHEN** an administrator saves a product without a net price - **THEN** the CMS SHALL reject it with a validation error #### Scenario: A plan shows its price with VAT - **WHEN** a visitor views a plan with a net price of 14 900 Ft per year and the VAT rate is 27% - **THEN** the card SHALL show "14 900 Ft + VAT / year" (localized) and the gross price of 18 923 Ft per year, and SHALL NOT show a "request a quote" text instead of the price ### Requirement: Lifecycle gate for public plans The production site SHALL show only products in the "active" status. The staging site SHALL show every product except "retired" ones, so that drafts can be reviewed there. When no product is showable, the hosting plans page SHALL return not found and SHALL be omitted from the main navigation and the sitemap. #### Scenario: Draft plans in production - **WHEN** all hosting products are drafts and the production site receives a request for the hosting plans page - **THEN** it SHALL respond with not found, and the page SHALL NOT appear in the menu or the sitemap #### Scenario: Draft plans on staging - **WHEN** the same draft products exist on the staging site - **THEN** the staging hosting plans page SHALL show them for review #### Scenario: A plan is activated - **WHEN** an administrator sets a product to "active" - **THEN** the production hosting plans page SHALL show it without a redeployment ### Requirement: Hosting plans comparison page The site SHALL serve the hosting plans page at `/hu/tarhely-csomagok` and `/en/hosting-plans`. It SHALL show the showable hosting products as comparable cards in their configured order, mark the highlighted plan, and offer a call to action for larger needs. All page copy SHALL come from the CMS in the requested locale, and English copy SHALL follow the translation status gate. #### Scenario: Visitor compares the plans - **WHEN** a visitor opens the hosting plans page with two showable plans - **THEN** the page SHALL show both plans with their storage, mail storage, domains, databases and mailboxes side by side, and the highlighted plan SHALL be marked #### Scenario: Managed services are not mixed in - **WHEN** a managed-service product exists - **THEN** it SHALL NOT appear on the hosting plans page