Skip to content
Snippets Groups Projects
Commit 278fe6b9 authored by Ievgen Shakhsuvarov's avatar Ievgen Shakhsuvarov
Browse files

MAGETWO-39264: [Improvement]"See our shipping policy" supports only "one...

MAGETWO-39264: [Improvement]"See our shipping policy" supports only "one string text" there is no ability to split text to multi line
parent 40dcee65
Branches
No related merge requests found
...@@ -295,9 +295,11 @@ class DefaultConfigProvider implements ConfigProviderInterface ...@@ -295,9 +295,11 @@ class DefaultConfigProvider implements ConfigProviderInterface
'shipping/shipping_policy/enable_shipping_policy', 'shipping/shipping_policy/enable_shipping_policy',
ScopeInterface::SCOPE_STORE ScopeInterface::SCOPE_STORE
), ),
'shippingPolicyContent' => $this->scopeConfig->getValue( 'shippingPolicyContent' => nl2br(
'shipping/shipping_policy/shipping_policy_content', $this->scopeConfig->getValue(
ScopeInterface::SCOPE_STORE 'shipping/shipping_policy/shipping_policy_content',
ScopeInterface::SCOPE_STORE
)
) )
], ],
'activeCarriers' => $this->getActiveCarriers(), 'activeCarriers' => $this->getActiveCarriers(),
......
...@@ -9,6 +9,6 @@ ...@@ -9,6 +9,6 @@
<!-- ko text: $t('See our shipping policy') --><!-- /ko --> <!-- ko text: $t('See our shipping policy') --><!-- /ko -->
</span> </span>
<div class="field-tooltip-content"> <div class="field-tooltip-content">
<!-- ko text: config.shippingPolicyContent --><!-- /ko --> <span data-bind="html: config.shippingPolicyContent"></span>
</div> </div>
</div> </div>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment