Commit e2668ec2 by dhn

运费

parent a9de767e
...@@ -128,6 +128,10 @@ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart ...@@ -128,6 +128,10 @@ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart
{ {
return $this->jsonHexTagSerializer->serialize($this->getCheckoutConfig()); return $this->jsonHexTagSerializer->serialize($this->getCheckoutConfig());
} }
public function getFreeShippingSubtotal()
{
return $this->_scopeConfigInterface->getValue('carriers/freeshipping/free_shipping_subtotal');
}
public function getFlatratePrice() public function getFlatratePrice()
{ {
return $this->_scopeConfigInterface->getValue('carriers/flatrate/price'); return $this->_scopeConfigInterface->getValue('carriers/flatrate/price');
......
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