Skip to content

Commit

Permalink
NTR: Fixed compatiblity with B2B Suite plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Jan 31, 2025
1 parent 247e4b8 commit cc42953
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fixed order details in the refund manager for Shopware 6.4.x.
- Resolved an issue with SwagCustomizedProducts where prices for option values are now correctly added to the order.
- Fixed the issue with OrderNotFoundException. This class was removed by shopware in 6.5.0 and it is not used within the plugin anymore
- Fixed an issue with twig rendering, mollie_applepaydirect_restrictions was null and caused an error
- Fixed compatibility with the Shopware B2B Suite Plugin
7 changes: 7 additions & 0 deletions src/Resources/views/mollie/head.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
{% set includeJsInHeader = true %}
{% endif %}

{% if mollie_paypalexpress_restrictions is null %}
{% set mollie_paypalexpress_restrictions = [] %}
{% endif %}
{% if mollie_applepaydirect_restrictions is null %}
{% set mollie_applepaydirect_restrictions = [] %}
{% endif %}

{% set restrictions = mollie_applepaydirect_restrictions | merge(mollie_paypalexpress_restrictions) %}

{# requirement check for apple pay direct #}
Expand Down

0 comments on commit cc42953

Please # to comment.