human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Product totals - custom units

Open awwaiid opened this issue 1 year ago • 5 comments

Implement #4408

  • Adds units when feature is enabled and there are any units
  • Changes sort to be by name instead of by qty

image

awwaiid avatar Aug 25 '24 02:08 awwaiid

I'm wondering which is better, Pads - units or Pads. Also ... the way we've implemented units elsewhere end up recording an empty string. We could maybe explicitly record "units" as the individual-units default recorded in the database.

awwaiid avatar Sep 01 '24 15:09 awwaiid

Which is better is a fair question. Is it a Wednesday question?

cielf avatar Sep 01 '24 16:09 cielf

I'd probably prefer it like this:

  • Pads (individual)
  • Pads (in packs)

dorner avatar Sep 02 '24 17:09 dorner

I'd probably prefer it like this:

  • Pads (individual)
  • Pads (in packs)

I think (in packs) implies the number of pads that happen to be in packs, as opposed to the number of packs. I kind of like the parentheses, though.

This is still the whole naming things issue - but I think we should be consistent between what we use for the partners and what we use for the banks -- because they do have conversations.

How about:

  • Pads (units)
  • Pads (packs)

I don't like "units", because of the naming conflict with "Custom Request Units" , but it's what we got from the banks. We could check if "pieces" would work for them, maybe?

cielf avatar Sep 02 '24 18:09 cielf

From our discussion on the call today, this is now updated to use plural when units are specified and blank otherwise.

awwaiid avatar Oct 13 '24 16:10 awwaiid

Two wee things: 1/ The sort should be lower-case alpha. (we are standardizing on that) 2/ If we're not showing the unit, we shouldn't show the dash either, methinks.

Fixed!

awwaiid avatar Nov 03 '24 17:11 awwaiid

@awwaiid: Your PR Product totals - custom units is part of today's Human Essentials production release: 2024.11.24. Thank you very much for your contribution!

github-actions[bot] avatar Nov 24 '24 15:11 github-actions[bot]