• The documentation says you can convert from BTC to USD, or USD to BTC but that just throws an error?

    “from – list of cryptocurrencies or currencies, separated by commas. (Default: all cryptocurrencies)

    fiat – list of cryptocurrencies or currencies, separated by commas. (Default: all currencies)”

    {!! do_shortcode('[crtools-converter from="BTC,USD" to="USD" other="BTC"]') !!}

    Is it not possible to do this where the dropdown options are just BTC and USD for both? Reason is I’m hiding the second conversion box and just showing it as text.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webstulle

    (@webstulle)

    Hi!
    You are right, there is an error. We will fix it in the next releases.

    – “Is it not possible to do this where the dropdown options are just BTC and USD for both?”
    What do you mean? Can you give us an example (screen or picture).

    Thanks
    Webstulle

    Thread Starter xanderembold

    (@xanderembold)

    Right now I’m basically only showing one dropdown. After the user types anything or changes the dropdown I’m grabbing the text from the “to” input and displaying it as just text.

    So what I’m trying to do is have the options BTC and USD as selectable for both inputs. Then I’d just change the 2nd “to” dropdown for the user when they change the 1st “from” dropdown.

    So there’s be 1 field visible, options are BTC and USD. I detect if a user selects USD and change the hidden dropdown to BTC for them, and grab the text and display it on the page.

    Sounds like it should be possible once the bug is fixed? Any sort of ETA on that or way I could beta test it? Trying to launch this soon lol.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t Convert USD to BTC?’ is closed to new replies.