You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
One issue encountered that you may be able to help with.
This example module doesn't work with Multi-currency.
I've started by amending the code to respect the current currency when adding an item to the cart - that bit is fine, and I understand it.
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\commerce_price\Exception\CurrencyMismatchException</em>: in <em class="placeholder">Drupal\commerce_price\Price->assertSameCurrency()</em> (line <em class="placeholder">296</em> of <em class="placeholder">modules/contrib/commerce/modules/price/src/Price.php</em>)
Hi Bojan
I'm using this example module to start the port of
https://www.drupal.org/project/commerce_donate to D8.
One issue encountered that you may be able to help with.
This example module doesn't work with Multi-currency.
I've started by amending the code to respect the current currency when adding an item to the cart - that bit is fine, and I understand it.
However when I switch currency, using the block provided by https://www.drupal.org/project/commerce_currency_resolver , I get a fatal error now
Any advice of where to start fixing that.
Thanks for the code - great work as always!