We want an available_currencies setting where the admin can select the available currencies.
If empty, all currencies are available.

This of course needs to be respected by the widget and the underlying form element (which will need a matching #available_currencies key).

Comments

bojanz created an issue. See original summary.

GoZ’s picture

GoZ’s picture

Status: Active » Needs review
bojanz’s picture

Assigned: Unassigned » bojanz

Wrapping this up. The currency constraint validator is using the deprecated entity manager instead of entity type manager, PriceItem::getAvailableCurrencies() is not needed cause we won't alter the currency list.

  • bojanz committed a5ee963 on 8.x-2.x authored by GoZ
    Issue #2831955 by bojanz, GoZ: Allow available currencies to be...
bojanz’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.