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

Automating letterbox packages does not work with decimals #868

Open
Jilco opened this issue Oct 16, 2024 · 0 comments
Open

Automating letterbox packages does not work with decimals #868

Jilco opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Jilco
Copy link

Jilco commented Oct 16, 2024

Plugin version

4.16.2

Magento version

2.4.7-p3

PHP version

8.2

What went wrong?

When I put 3 products with a quantity of 0.8 meters each in the shopping cart (total 2.4), he delivers a letterbox package. However, with more than 2 meters he must provide a package as an option. If I put 3 products of 1 meter in the shopping cart, everything goes well and he chooses the package option. Decimals are probably not included in adding the weight.

Reproduction steps

  1. Automate letterbox packages with mailbox weight 2
  2. Make 3 products with weight 1 and decimals allowed (min order qty 0.5)
  3. Add 0.8 from each in basket (total 2.4)
  4. Go to checkout (letterbox packages is the option, while only 2 fits in letterbox package)
  5. change the 3 products in basket to 1 each (3 total)
  6. now normal package will show up (and thats correct)

Relevant log output

No response

Additional context

No response

@Jilco Jilco added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant