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

Allow discounts to be limited to product variants #1285

Merged

Conversation

ryanmitchell
Copy link
Contributor

@ryanmitchell ryanmitchell commented Oct 5, 2023

This PR adds the ability to limit discounts to product variants with the corresponding UI changes required in the hub. It also adds a new product variant search component to the hub.

@vercel
Copy link

vercel bot commented Oct 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 6, 2023 2:04pm

@alecritson
Copy link
Collaborator

Thanks @ryanmitchell, I like this idea and had a play around and seems to work. After chatting with @glennjacobs we feel this should be targeting main for release in 0.7 since it's more of a feature and includes functionality, rather than a fix.

@ryanmitchell
Copy link
Contributor Author

No problem. Need me to change anything?

@ryanmitchell ryanmitchell changed the base branch from 0.6 to main October 6, 2023 14:02
@alecritson
Copy link
Collaborator

@ryanmitchell I don't think so from initial testing, only thing I was looking at was the nested sub query and whether it could be flattened a bit, but hadn't had a real look.

@alecritson alecritson merged commit 57458bf into lunarphp:main Oct 10, 2023
12 checks passed
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.

6 participants