http://www.karlrixon.co.uk/writing/conv ... -with-php/
The script that web-project pointed out could be converted into a "tool" that can be used in OpenCart (done). However, there are limitations on how it could be used.
It couldn't be used to convert a "price", as this has already been formatted with currency symbol, decimal point (which may differ from currency to currency - some use a dot, others use a comma) and possibly a thousand separator (again, this may differ from currency to currency). It would only work on a "raw" number and, if that "raw" number was a decimal like 100.00, you would end up with "one hundred point zero zero" being displayed and not "one hundred".
Would it be possible to provide a "mock-up" of how you want it to look on the invoice?
Modules for OpenCart 22.214.171.124
Homepage Module [Free - since OpenCart 0.7.7]
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
I dont know how the function/procedure works in opencart , where i copy above code to use & test this function otherwise
understand what the output can get from this function.
Users browsing this forum: No registered users and 41 guests