Jacob Rief
Jacob Rief
How about reordering the fields in the `CustomerForm`? Create your own customer form class inheriting from `CustomerForm`, use [field_order](https://docs.djangoproject.com/en/1.11/ref/forms/api/#django.forms.Form.field_order) to order them and configure this class using the settings directive...
I just retested with this setup: Upgrade to HEAD on branch master Add to the merchant project: myshop/forms.py: ```python from shop.forms.checkout import CustomerForm as CustomerFormBase class CustomerForm(CustomerFormBase): field_order = ['email',...
I just made a test with the above, not very realistic example. This is what is rendered inside the customer's summary: ``` [email protected] De Master Adam Mr. ``` Note, when...
I see. That means, that you would like to have the possibility to use a text template in order to render the CustomerForm as summary. Yes, I can implement that,...
Yes, this has been implemented now. However it's in a draft-branch which is still under development. Unfortunately not everything in that branch `drafts/bootstrap-4-sendcloud` is stable and documented yet, hence I...
This is hard coded in `shop.money.iso4217.py` for each currency according to it's decimal places. Hmm, didn't think about the use-case for selling real estate :/
Ok, then that mapping should be configurable
I'll leave this open for now, until I find a cleaner or built-in solution. Ann.: One of the reasons I introduced the Money class, was, not having to pre- or...
@vivazzi I think the best place to look how money is rendered is here. ``shop.money.money_maker.AbstractMoney.__format__``. ``USE_THOUSAND_SEPARATOR = True`` makes things even worse, because it alway adds a dot, so that...
Decimal places are a per currency configuration. There are currencies with 0 DP: Japanese Yen, Hungarian Forint; some with 2 DP: Pound, Euro, Dollar and even some with 3 DP:...