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

Problem give_format_amount_decimals return always 2 decimals #467

Closed
NicolasKulka opened this issue Jan 26, 2016 · 3 comments
Closed

Problem give_format_amount_decimals return always 2 decimals #467

NicolasKulka opened this issue Jan 26, 2016 · 3 comments
Assignees
Milestone

Comments

@NicolasKulka
Copy link

Hello,

File assets/js/give-checkout-global.js l.177 : give_global_vars.number_decimals doesn't exist
but give_scripts.number_decimals exist.

Or

File /include/scripts.php : $localize_give_checkout
Add l.60 in this array.

Problem with hook filter "give_format_amount_decimals" which return always 2 decimals.

@NicolasKulka NicolasKulka changed the title Problem number_decimals Problem give_format_amount_decimals return always 2 decimals Jan 26, 2016
@DevinWalker
Copy link
Member

Thanks for reporting! I'll take a look.

@DevinWalker DevinWalker self-assigned this Feb 11, 2016
@DevinWalker DevinWalker added this to the 1.3.7 milestone Feb 11, 2016
@DevinWalker
Copy link
Member

@NicolasKulka I'm having a hard time understanding the issue... would you mind clarifying?

@NicolasKulka
Copy link
Author

I used the filter to be no decimal. Except that the filter always returns 2 decimal minimum

DevinWalker pushed a commit that referenced this issue Mar 23, 2016
@DevinWalker DevinWalker modified the milestones: 1.3.7, 1.4 Mar 25, 2016
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

No branches or pull requests

2 participants