Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    How to get all the allowed currencies having currency rates.

    Hello everyone, sometimes we need all those currencies that are allowed by admin and also have conversion rates set by the admin.

    Following code will help you to achieve this.

    First of all, In the Helper construct, add the following code,

    after that, you can write this function to get the currencies codes with their corresponding names as below-

    if you print $currencyData, it will display the result as you can see in the image-

    This is all for now. Hope this will help.

    For any queries, comment below.

    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again