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

Display merch variations dropdown #472

Merged
merged 19 commits into from
Jul 11, 2024
Merged

Conversation

Moggach
Copy link
Contributor

@Moggach Moggach commented Jul 10, 2024

Description

This PR checks if there is more than one variation of a product and if so displays them in a selector dropdown.
Additional JS has been added to bind the product variation id to the add to cart button

Motivation and Context

Addresses issue LBC-393

How Can It Be Tested?

The feature branch is deployed on the staging site on Render
https://leftbookclub-staging.onrender.com/merchandise/

How Will This Be Deployed?

Normal continuous deployment

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@Moggach Moggach requested review from conatus and joaquimds July 10, 2024 17:04
@Moggach Moggach merged commit 25c7f8f into main Jul 11, 2024
1 check failed
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.

2 participants