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

Hide vol pricing and qty rules when variant is unavailable #2889

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

sofiamatulis
Copy link
Contributor

@sofiamatulis sofiamatulis commented Jul 21, 2023

PR Summary:

Ensure qty rules and vol pricing dont show for variants that dont exist.

Why are these changes introduced?

Fixes #2870 and #2932

Test:

  • Mobile
  • Desktop
  • Feat Prod
  • PDP

Editor

Copy link
Contributor

@eugenekasimov eugenekasimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, I left one small comment.

@edmund-teh edmund-teh self-assigned this Jul 31, 2023
@sofiamatulis sofiamatulis requested a review from edmund-teh August 2, 2023 15:24
Copy link

@edmund-teh edmund-teh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid @sofiamatulis! Thanks for implementing the changes we outlined on Slack:

  • Hiding the price block because the selected variant does not exist
  • Hiding any gaps (from quantity rules/vp/anything else) because the variant does not exist

Pills video:
https://screenshot.click/Pills-no-price-no-gaps.mp4

Dropdowns video:
https://screenshot.click/Dropdowns-no-price-no-gaps.mp4

Figma prototype here.

Base automatically changed from font to main August 3, 2023 14:36
Copy link
Contributor

@andrewetchen andrewetchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sofiamatulis sofiamatulis merged commit 07c1828 into main Aug 3, 2023
@sofiamatulis sofiamatulis deleted the fix-unavailable branch August 3, 2023 17:43
TimmersThomas added a commit to TimmersThomas/shopify-template-houseofchocolate that referenced this pull request Aug 13, 2023
* upstream/main: (205 commits)
  Fix for small screens with large fonts don't fit all content (Shopify#2946)
  Adjust quantity rules margin (Shopify#2948)
  Update Social media settings defaults to remove Shopify links (Shopify#2830)
  added json to barcode to pass gtin as a json string (Shopify#2804)
  Fixed extra margin spacing in collage section when header is empty (Shopify#2770)
  Track state of mouseenter event (Shopify#2934)
  Fix misalignment of total items in quick order list (Shopify#2923)
  Hide vol pricing and qty rules when variant is unavailable (Shopify#2889)
  Fix font family for quick order list (Shopify#2888)
  v11.0.0 version bump and release notes (Shopify#2916)
  Revert "v11.0.0 version bump and release notes (Shopify#2906)" (Shopify#2915)
  Update quantity-popover.css
  v11.0.0 version bump and release notes (Shopify#2906)
  Fix social list styles loading (Shopify#2900)
  Fix an error (Shopify#2903)
  Fix hardcoded info color (Shopify#2893)
  Fix error misalignment for Quick order list (Shopify#2887)
  Replace generic section name with section ID. (Shopify#2884)
  Fix cart drawer for variant list and tablet spacing (Shopify#2880)
  Add missing shadow styles to inputs in Quick Order List (Shopify#2879)
  ...
phapsidesGT pushed a commit to Gravytrain-UK/gt-shopify-dawn-theme that referenced this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants