Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COM-28756]: product scarcity update #22

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

sizhang12
Copy link
Collaborator

This updates product-scarcity formatter to show the first index scarcity without attributes based on a boolean value. Rest of the scarcity will render with or without attributes. The same changes have been made to template-compiler: Squarespace/template-compiler#45

@sizhang12 sizhang12 requested a review from phensley as a code owner July 31, 2023 18:06
Update product-scarcity formatter to render without attributes
on the first index if scarcityShowByDefault is true and render
the rest with or without attributes. Also added + updated
scarcity test cases
@phensley phensley force-pushed the om/COM-28756-product-scarcity-update branch from fc048ce to e42311a Compare July 31, 2023 18:57
@phensley phensley merged commit 7992280 into main Jul 31, 2023
4 checks passed
@phensley
Copy link
Contributor

This change is released in version 2.8.45 which should be available on npmjs.com in a few minutes.

@phensley phensley deleted the om/COM-28756-product-scarcity-update branch August 3, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants