Feature #1403

Show Lot Quantities Instead of Weights for Some Products

Added by Pavan Rikhi 8 months ago. Updated 8 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:


Category:ProductsSpent time:-
Target version:v0.7.0 - Misc Pages & UI
Easy Pickings:


E.g., for mushroom spawn we want to show things like "100 plugs", not "0.00g".

Make the weight field an amount field/type with weight or custom label constructors?
E.g., type ProductAmount = Mass Milligrams | Custom Integer Text.

Or should we hardcode all possible types & show a "amount type" dropdown on the admin page? E.g. type ProductAmount = Mass Milligrams | Plugs Amount.


#1 Updated by Pavan Rikhi 8 days ago

Check each product for what label the lot quantity should be. Rename the weight field to lotQuantity and use a sum type. Leave custom text out for now.

Make the lotQuantity nullable so we don't need one for things like Catalogs?

Also available in: Atom PDF