matthiask / plata

Plata - the lean and mean Django-based Shop
https://plata-django-shop.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
197 stars 63 forks source link

Multiple currencies issue when changing an existing setup #67

Closed pdebuyl closed 10 years ago

pdebuyl commented 10 years ago

Hi,

I use plata 1.1 and needed to change the currency. So I added the new currency in settings.CURRENCIES and created a new product. The problem is that existing users had their contact information already set and using the other currency.

The result is that it was impossible for existing users to add products in the new currency to their cart because the product would not exist with the old currency.

To allow further use of the website, I manually updated all contact entries in the database to use the new currency. I don't know whether this is a bug or not but I thought I'd report it.

And many thanks for this django app. It is simply excellent!

matthiask commented 10 years ago

Hey,

Let me say thanks first :-) it's a pleasure to write software that's not only used but also liked!

You'd probably have to implement some UI where users can select their preferred currency. This could even be done while showing the cart (you'd have to remove and add back all order items for that).

Plata does not have a built-in mechanism for selecting and/or switching currencies, it simply makes sure that orders and carts are consistent.

pdebuyl commented 10 years ago

Ok, indeed plata provides the back-end. In my situation as the site uses only a single currency at a given time I can use a workaround. For info, this is https://www.euroscipy.org/2014/

I close the issue because there is nothing to be done.

Cheers

matthiask commented 10 years ago

Thanks!