Skip to content

Commit

Permalink
fix(checkout): show delivery options with all language settings (#56)
Browse files Browse the repository at this point in the history
INT-307
  • Loading branch information
joerivanveen authored Dec 28, 2023
1 parent 0ae4614 commit 02759b1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

{% block component_shipping_method_label %}
{{ parent() }}
{% if context.shippingMethod.customFields.myparcel %}
{% if shipping.translated.customFields.myparcel and shipping.id is same as(context.shippingMethod.id) %}
<template data-delivery-options-plugin
data-delivery-options-plugin-options='{{ deliveryOptionsPluginOptions|json_encode }}'></template>
{% endif %}
{% if shipping.translated.customFields.myparcel and shipping.id is same as(context.shippingMethod.id) %}
<div id="myparcel-delivery-options"></div>
{% endif %}
{% endblock %}

0 comments on commit 02759b1

Please sign in to comment.