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

replace all instances of product.variants.size with product.variants_count. #3714

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

parsahemmati
Copy link

@parsahemmati parsahemmati commented Jan 31, 2025

PR Summary:

PR Summary:
closes https://github.com/Shopify/dawn-private/issues/414

In this PR we replace all instances of Product.variants.size with product.variants_count.

variants_count will be added to the liquid API as part of introducing product variant pagination.

Why are these changes introduced?

Fixes #0.

What approach did you take?

Other considerations

Decision log

# Decision Alternatives Rationale Downsides
1

Visual impact on existing themes

Testing steps/scenarios

  • Step 1

Demo links

Checklist

iants.size with _count.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants