Limit product description text and features

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.

The Northface W Oso Hoodie Rabutan Pink Medium
Price: $79.95
(As of: 2017/07/22 2:49 am - 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 http://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
)
5 new from $79.000 used
The North Face Oso Hoodie Womens
(* = 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: $99.99
(As of: 2017/07/22 2:49 am - 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 http://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
)
52 new from $85.220 used
  • The Fortrex features 2 rapid-fire stud shooters on the front; a disc shooter concealed under the drawbridge; 2 stud shooters on the drawbridge and 2 movable double laser cannon stud shooters
  • Accessory elements include the Book of Evil, Merlok 2.0 character, Techalibur sword, shooting target, robot trainer with movable arms, ladders, toolkit, frying pan, cup, chicken leg, 3 helmets and Chef Eclair's chef hat
  • Includes 7 mini figures: Clay Moorington, Aaron Fox, AXL, Chef Eclair, Ash Attacker and 2 Scurriers
  • Castle walls easily open out to reveal the feature-packed LEGO NEXO KNIGHTS headquarters, featuring a round table, training area, prison, kitchen and more
  • The Fortrex measures over 9" (25cm) high, 8" (21cm) wide and 9" (24cm) deep, and over 9" (25cm) high, 14" (37cm) wide and 9" (23cm) deep with walls folded out
  • This fun toy for boys and girls is appropriate for ages 9-14
(* = affiliate link / image source: Amazon partner program)