-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[amp story shopping] Product Listing Page (PLP) (#37318)
* plp * comment * Styling * Number formatting function. * White space * Rename enum * abstract load fonts into amp-story * Fix conflict * revert * format number * revert * Abstract shared functions from shopping tag * Revert "Abstract shared functions from shopping tag" This reverts commit 6851845. * tag * test commit * revert test commit * lint * Update dep check * Example update * Update variable names. * Set template function * Update visual tests. * unit test * lint * Update config test with new entries. * formatI18nNumber test * lint fix * Attachment content unit test. * Types, comments and structure * comment * indention in example template. * Template variables. * lint fix * update test * template names * Add depends on story service. * add dep * Update templates. * CTA label * CSS prefix. MutateElement. * Update type * Attachment state listener for populating PLP. * Test for invalid currency * Update template and images to royalty free. * background image on cards. * Update images and template * Prevent experience from building if no tags are on page. * Update template. * Update string * whitespace * Text adjustments * Revert "Text adjustments" This reverts commit 91180de. * text adjustments * rebase * comment. * try catch to gracefully fallback to a number. * space * Link directly to images. * call open on amp-story-page-attachment * spaces * lint * price fallback * update tests * Update price fallback * newline * clean up tests
- Loading branch information
1 parent
a602362
commit 6267780
Showing
22 changed files
with
721 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"product-tag-id": "city-pop", | ||
"product-title": "Plastic Love", | ||
"product-price": 19, | ||
"product-price-currency": "JPY" | ||
"product-tag-id": "art", | ||
"product-title": "Abstract Art", | ||
"product-brand": "V. Artsy", | ||
"product-price": 1200.0, | ||
"product-price-currency": "JPY", | ||
"product-images": ["https://source.unsplash.com/BdVQU-NDtA8/500x500"] | ||
} | ||
] | ||
} |
Oops, something went wrong.