Enter any taxon with products into the field and click.
Products will not load as 'supported_currencies' is undefined.
Seems to be related to issue #42 raised by @jsilland. In short, this appears to occur because API controllers do not inherit from the ApplicationController, so do not have access to 'supported_currencies'.
I was able to resolve by creating a base_controller_decorator to include Spree::CurrencyHelpers, as suggested by @jsilland in issue #42 , per below:
Spree::Api::BaseController.class_eval do
include Spree::CurrencyHelpers
end
Hope this helps anyone else who runs into this issue!
On Spree 3.1.
Seems to be related to issue #42 raised by @jsilland. In short, this appears to occur because API controllers do not inherit from the ApplicationController, so do not have access to 'supported_currencies'.
I was able to resolve by creating a base_controller_decorator to include Spree::CurrencyHelpers, as suggested by @jsilland in issue #42 , per below:
Hope this helps anyone else who runs into this issue!