OdooWiki OCA HUB

Product Description On N Rows

website_sale_product_name_fixed_height folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

This module lets the user set for each website how many lines of description to display in /shop page, and if the name of the product does not fit the lines set, then the name is shortened with suspension dots.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Set how many lines of the product name and description appear on each product card in the /shop page, per website. Longer text is cut off with an ellipsis.

This module adds a setting to control the height of the product name/description block shown on the shop page. For each website you can choose how many lines of text are displayed before the rest is hidden.

Where to find it: - In Website settings, under the product catalog section, a new field "Row count in description" lets you enter the number of lines. - The value is stored per website, so different websites can show a different number of lines.

Business rules and behaviour: - The default number of lines is 1. - The value must be greater than 0; entering 0 or a negative number is blocked with a validation message. - On the shop page, the product name/description area is limited to the chosen number of lines; any extra text is cut off and shown with suspension dots.

Areas touched: - Website settings (res.config.settings) and the website model. - The shop product card template (website_sale.products_item).

Depends on

website_sale
Models and fields (2)
  • website · extends an existing modelrow_count (Row count in description)
  • res.config.settings · extends an existing modelrow_count

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 14.0

User goes to setting > website and sets for website 1 "Number of product description lines to display" = 1

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.