Magenerds / BasePrice

37 stars 38 forks source link

Add more default units #22 #38 - Add option to translate reference unit #39

Open DanieliMi opened 5 years ago

DanieliMi commented 5 years ago

I've added km, qm, cbm, pc as default units. And for km the corresponding conversions. Additionally I changed getReferenceUnit to return the reference unit as a Phrase so it can be translated. The translation is especially helpful in front end for non English stores because you can simply add the reference units to your dictionary for example to translate "pc" to "Stk.". After adding the options I sort the options in order to keep them grouped.

amenk commented 5 years ago

I like it, can it be merged?

kolaente commented 5 years ago

@sippsolutions @wick-ed Any chances this will be merged?

sippsolutions commented 5 years ago

@sydekumf can you check it?