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: $92.95
(As of: 2016/12/31 2:20 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.
)
7 new from $83.050 used

Products on Sale Are Discontinued Styles or Colors. The North Face Women's Oso Hoodie is a silken fleece for snuggling inside all day. Whether you're shopping, enjoying the park, or just going about your day, the soft touch of the silken High-pile raschell fleece will keep your skin happy. The polyester taffeta on the shoulders and hood provide abrasion and weather resistance in case you run into a spot of light rain or the first Snowflakes of the season. The cuffs and hem feature momentum stretch fabric to create a soft seal against your body to block drafts from blowing their way inside. Fair warning, all your friends will probably want to link arms with you when you wear it, just so they can get close to the cozy softness. Features of The North Face Women's Oso Hoodie Soft Silken High-pile raschel fleece with woven overlay for weather and abrasion protection Momentum stretch fabric at cuffs and hem Two secure-zip hand pockets Comfortable hooded jacket that's crafted of soft, silken fleece Specifications of The North Face Women's Oso Hoodie Average Weight: 16.76 oz / 475 g Relaxed Fit Center Back Length: 26in. Body: 65D 315 g/m2 100% Polyester Silken fleece Overlay: 30D 50 g/m2 100% Polyester taffeta Cuffs and Hem: 75D 265 g/m2 TKA Superstretch-93% Polyester, 7% Elastane This product can only be shipped within the United States. Please don't hate us.

(* = 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: 2016/12/31 2:20 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.
)
37 new from $95.291 used from $97.07
  • 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
(* = affiliate link / image source: Amazon partner program)