30350n / inventree_part_import

CLI to import parts from suppliers like DigiKey, LCSC, Mouser, etc. to InvenTree
MIT License
24 stars 8 forks source link

Add $CAD to LCSC Currency map #25

Closed sle118 closed 3 months ago

sle118 commented 3 months ago

For canadiens using the tool

CURRENCY_MAP = {
    "€": "EUR",
    "US$": "USD",
    "C$": "CAD"
}

Better yet, perhaps this should be a config option with the instruction saying something like: navigate to lcsc, set your currency and check the price of a part to determine the symbol used in the web page.

Thank you!

30350n commented 3 months ago

Fixed!