Commit 74111299 by dhn

汇率

parent 06503866
......@@ -130,11 +130,7 @@ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart
}
public function getFreeShippingSubtotal()
{
$full_free = $this->_scopeConfigInterface->getValue('carriers/freeshipping/free_shipping_subtotal');
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$_helper = $objectManager->get('Magento\Framework\Pricing\Helper\Data');
$price = $_helper->currency($full_free, true, false);
return $price;
return $this->_scopeConfigInterface->getValue('carriers/freeshipping/free_shipping_subtotal');
}
public function getFlatratePrice()
{
......
Markdown is supported
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