I'm using opencart version 3.0 with Journal theme, Kindly let me know how to convert the total amount into words in order invoice. Say, for ex, if the total is 1500, means I need to get as "One thousand and five hundred only.
Thanks,
viewtopic.php?f=202&t=210309&hilit=total
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
For example this one: https://stackoverflow.com/questions/115 ... r-in-words You just need to implement it to your invoicing.
If you are not a coder, you can write PM to me and we can discuss about implementation.
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Thanks @ letxobnav , I will look in to it.......
Thanks @ kestas, will contact for customization if needed,kestas wrote: ↑Tue Apr 23, 2019 4:14 pmYou can use google and will find a lot of.
For example this one: https://stackoverflow.com/questions/115 ... r-in-words You just need to implement it to your invoicing.
If you are not a coder, you can write PM to me and we can discuss about implementation.
So ask your host first or if you have access to your php.ini file, do it yourself.
Code: Select all
$numberInWords = new NumberFormatter("zh", NumberFormatter::SPELLOUT);
$numberInWords->format(25.55);
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Thanks! , will contact my hosting provider to activate the same.letxobnav wrote: ↑Wed Apr 24, 2019 7:36 pmif you want to use the build in NumberFormatter class your php installation needs to have the php_intl extension activated.
So ask your host first or if you have access to your php.ini file, do it yourself.
works perfectly in many languages.Code: Select all
$numberInWords = new NumberFormatter("zh", NumberFormatter::SPELLOUT); $numberInWords->format(25.55);
Users browsing this forum: No registered users and 1 guest