I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

How to call the selected coin symbol.

dashed-slug.net Forums Exchange extension support How to call the selected coin symbol.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6238
    Anonymous
    Inactive

    How do I reference the selected coin symbol in the text of my exchange page?

    For example, if the user selects the BTC_LTC market from the [wallets_exchange_market template=”simple-dropdown”], how can i reference the selected market and coin symbols in the text on my page?

    Thanks!

    #6239
    Anonymous
    Inactive

    Also, is there a way to change the default order (appears to be alphabetical) on [wallets_exchange_market template=”simple-dropdown”] – so I can select the first one that shows?

    #6241
    alexg
    Keymaster

    Hello,

    You can get the current market using JavaScript with wp.wallets.viewModels.walletsExchange.selectedMarket().

    I haven’t added a way to change the ordering of coins, I will do so in a future version.

    with regards

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.