Problem/Motivation
Be able to customize whether to show the store label or currency in the dropdown.
Proposed resolution
Add configuration options on the block to be able to customize whether to show just the label/currency or both.
User interface changes
Two checkboxes in a fieldset in the block will appear to be checked as to whether to show the label or currency (or can check both to show both).
This may be quite an opinionated patch and it may not fit most people's use case, and I was just going to preprocess the options and override the currencies, but for performance reasons I wanted to do it at this level. We wanted to just show the currencies in our drop down, so I've added the functionality to be able to do so, or show both, or just the store label!
This may not be useful to everyone but just popping it here. :-)
Issue fork commerce_store_filter-3305717
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
arunkumarkComment #4
arunkumarkThe patch looks fine. This feature helps to customize the block label. Moving to the RTBC.
Comment #6
arunkumark