Commit 47ab1866 by dhn

结算页

parent cf0abeba
......@@ -110,7 +110,11 @@ class Onepage extends \Magento\Framework\View\Element\Template
}
public function getFlatratePrice()
{
return $this->_scopeConfigInterface->getValue('carriers/flatrate/price');
$full_free = $this->_scopeConfigInterface->getValue('carriers/flatrate/price');
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$_helper = $objectManager->get('Magento\Framework\Pricing\Helper\Data');
$price = $_helper->currency($full_free, true, false);
return $price;
}
public function getFullFreeShip()
......
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