To get the custom fields working, just try every possible variation until it works for you.
:(
From the documentation, here is the overview / theory of operation:
QuoteCustom Fields
Custom fields are used to customize products.
That sure doesn't help.
:'(