$quote = $this->getOnepage()->getQuote();
$country = "FR";
$address = $quote->getShippingAddress();
$address->setCountryId($country)->setCollectShippingRates(true)->collectShippingRates();
$quote->setShippingMethod('freeshipping')->save();
$country = "FR";
$address = $quote->getShippingAddress();
$address->setCountryId($country)->setCollectShippingRates(true)->collectShippingRates();
$quote->setShippingMethod('freeshipping')->save();
No comments:
Post a Comment