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

fix price breaks not storing in correct currency factor #1948

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

wychoong
Copy link
Contributor

@wychoong wychoong commented Sep 12, 2024

also added ->required() to shipping method

Copy link

vercel bot commented Sep 12, 2024

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 Sep 13, 2024 9:47am

@alecritson
Copy link
Collaborator

Thanks @wychoong Should we also be considering the Min. Spend field as well?

@wychoong
Copy link
Contributor Author

Thanks @wychoong Should we also be considering the Min. Spend field as well?

Min. Spend field is actually min_quantity field on the table, and currently it is hardcoded to multiply 100.
do you want me to update it to use currency factor too?

@alecritson
Copy link
Collaborator

I think so, since the shipping addon uses this as a price check 🤔

@wychoong
Copy link
Contributor Author

I think so, since the shipping addon uses this as a price check 🤔

I have updated both to use the currency factor. Also fixed my previous change which uses default currency. now it uses the currency selected at the repeater 😶‍🌫️
image

@alecritson alecritson merged commit 4aad66d into lunarphp:1.x Sep 18, 2024
22 checks passed
@wychoong wychoong deleted the patch-3 branch September 18, 2024 12:48
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