mortenengel

Results 7 comments of mortenengel

As gift-cards with expiry dates are the very core of most of the orders on our shop, I have added a temporary "fix" to avoid this happening. I have subscribed...

@srindom when running in dev mode locally I see this error: ![image](https://github.com/medusajs/medusa/assets/38915779/6a6dcffc-d60a-47fc-8df5-56ec3300da2e) which is using NestedPrice: https://github.com/medusajs/medusa/blob/359bd290baa14cdb0d582d60fc76322dc8acb4ae/packages/admin-ui/ui/src/components/forms/general/prices-form/nested-price.tsx#L19 Which is using currencies directly from the file as mentioned - a lot...

@srindom yes - I have actually deleted the migration now since it didn't work - but I didn't delete the contents of the database yet: ![image](https://github.com/medusajs/medusa/assets/38915779/96c5e447-0d3e-47b5-8427-10ec943516c1) But.. correct me if...

That would fix it for this particular case - but the code base is full of uses from currencies.ts and currencies.ts holds more information than the database does as well...

I agree - however I could fear the implications of doing such a change. - startup-wise, are there any chance the contents of this file is accessed by some services...

@kasperkristensen thank you for your detailed answer. Unfortunately we've moved a bit too close to deadline for us to include this in a first phase, and we will most likely...

Hi @Tombar To my knowledge it has not been fixed. However the values from the API are not sent as formatted strings, but currency code field and a value field...