Limit product description text and features

Contents

Limit description text length

ASA 2’s included managed templates have an option to limit the per default visible product description length. After the configured length there will be a “Show more” link with which the user can display the whole description text. This is a very useful option in terms of layout, because some products may have very long texts which could break the page layout.

The following screenshot shows the option “Description length”. It can also be adjusted per shortcode option “description_length“.

Template option to limit description length

You can see the description text limit in action in the following product box. Click the button “Show more” below the description text to display the complete text.

Price: --
(As of: 2023/05/07 10:00 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
)
0 new0 used
(* = affiliate link / image source: Amazon partner program)

Limit number of features

There is also an option to limit the per default visible number of product features on ASA 2’s included managed templates. A “Show more” link will be appended after the configured number. This can be very helpful in terms of layout because some product have a very long feature list which could break the page layout.

Template option to limit features

You can see the feature number limit in action in the following product box. Click the button “Show more” below the features list to display the complete list.

Price: --
(As of: 2017/10/16 2:30 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
)
75 new from $85.430 used
  • Build the vast rolling castle and defend the kingdom!
  • As featured in Cartoon Network's LEGO® NEXO KNIGHTSTM series
  • Includes Clay Moorington, Aaron Fox, Axl & Ash Attacker minifigures, plus Chef Éclair & two Scurrier figures
  • LEGO NEXO KNIGHTS building toys are compatible with all LEGO construction sets for creative building
  • The Fortrex is over 9" high, 14" deep and 14" wide when unfolded
  • 1140 pieces - For boys and girls between the ages of 9 and 14 years old
(* = affiliate link / image source: Amazon partner program)