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

Configurable default measurement units #1334

Conversation

netzknecht
Copy link
Contributor

  • remove partly wrong default measurement units from database ('weight' and 'volume' unit isn't 'mm')
  • allow configuration of default measurement units in config file shipping.php with 'default' => true key/value pair
  • refactoring attribute getter methods to attribute casting accessor with correct default values

Copy link

vercel bot commented Nov 10, 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 Dec 2, 2023 6:15am

@netzknecht
Copy link
Contributor Author

Because this pull request is a fix and an enhancment, it could be better to merge it into main branch?

ILDaviz and others added 3 commits November 15, 2023 14:20
Remove partly wrong default measurement units
from database, allow configuration of default
measurement units in config file shipping.php
with 'default' => true value and define correct
values it attribute getter method.
@alecritson
Copy link
Collaborator

Do you see any changes this would cause that would need explaining in the upgrade guide?

@netzknecht
Copy link
Contributor Author

netzknecht commented Dec 1, 2023

No, it should be full backward compatible. But I will add some general info to the documentation.

@glennjacobs
Copy link
Contributor

@netzknecht could you retarget to 0.8 branch please?

@glennjacobs glennjacobs added the enhancement Improvement to existing functionality label Dec 18, 2023
@glennjacobs glennjacobs added this to the v0.8 milestone Dec 18, 2023
@netzknecht netzknecht changed the base branch from 0.7 to 0.8 December 18, 2023 21:35
@glennjacobs
Copy link
Contributor

This PR seems to have lots of updates not associated to the functionality specified. Closing, but feel free to reopen if you can make a PR that is focused on a single issue.

@glennjacobs glennjacobs closed this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to existing functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants