ampproject / ampproject/amphtml

[amp story shopping] Add "read more" preview state to product details text section

Open
#37,997 2 comments 0 reactions 1 assignee Claimed by @processprocess View on GitHub
Component: amp-story-shopping P3: When Possible Stale Type: Feature Request WG: stories
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

When details is opened, show first 6 lines and a "read more" button (read more must be an i18n string). Once clicked, fully expand the product details text.

If there is only one product on the page, fully open the text and do not display the "read more" button.

Screen Shot 2022-04-01 at 9 51 33 AM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.