No Mapping Fields (Currency Layer and Fixer.IO)

Created on 12 October 2023, about 1 year ago
Updated 13 October 2023, about 1 year ago

The currency Mapping Tab has no fields to Map (attached is the image).

I tried with two APIs - Currency Layer and Fixer.IO.

Followed the instructions in the readme file to Disable Internal Page Caching.

Any idea on debugging the UI would be helpful. There are no errors in the Recent Log Messages.

🐛 Bug report
Status

Fixed

Version

1.61

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ajose82
  • 🇭🇷Croatia valic Osijek

    what are your settings on main page?

    Do you have more than one currency enabled in Drupal?

  • 1. At admin/commerce/config/currencies

    I have 25 Currencies Enabled

    2. The Store's Default Currency is USD

    3. Currency mapping
    Cookie (currency block selector)

    Currency source (Tried all the three options - nothing is generating the mapping fields)
    Automatic conversion
    Price field per currency
    Combo mode

    4. I also see only two Tabs - Configuration and Mapping. No Conversion tab as shown in the Snapshot of the Project Page.

  • 🇭🇷Croatia valic Osijek

    Ah, then it's correct, and think to see that tab it's a bug.

    If you use Cookie - currency block selector, then you can't map to anything.

    When you place a block with a currency selector, you can choose there which currently active currency is - this is meant to be accessible to the users.

    The currency mapping tab is visible if you use:

    • By Country - you can assign a currency to a specific country - that also requires that you have a GeoIP module
    • By Language - you can assign a currency to a specific language
  • 🇭🇷Croatia valic Osijek

    The conversion tab does not exist anymore in never versions. This is part of the commerce_exchanger module for a year.

    The mapping tab is showing options as I said, if you use Country or Language

  • "When you place a block with a currency selector, you can choose there which currently active currency is - this is meant to be accessible to the users."

    This is generated in the Block Layout? I searched for an auto-generated block with Currency Converter name in it. Couldn't find.

    "By Country - you can assign a currency to a specific country - that also requires that you have a GeoIP module"

    Any particular GeoIP module that you recommend with Commerce Currency Resolver?

  • Thank you Valic for the timely guidance.

    Installing https://www.drupal.org/project/smart_ip with

    Currency mapping: By Country
    Location module: Smart IP
    Currency source: Combo mode

    Resolved the issue.

    Maybe in the Documentation we can mention the Location module (smat_ip) and share that for the Mapping field to appear Geo Module is mandatory?

  • Status changed to Fixed about 1 year ago
  • Status changed to Fixed about 1 year ago
Production build 0.71.5 2024