Magento free shipping not working -
i have enabled free-shipping system->configration->shipping methods, , set minimum order amount 50 doesn't work
also wonder why condition if($request->getfreeshipping())
return false
i had problem myself , stumbled on question. me because cart subtotal not being loaded in freeshipping.php file located in below path.
path file:
/app/code/core/mage/shipping/model/carrier/freeshipping.php
now, copy file:
/app/code/core/mage/shipping/model/carrier/freeshipping.php
to file location
/app/code/local/mage/shipping/model/carrier/freeshipping.php
find line has this
if (($request->getfreeshipping()) || ($request->getbasesubtotalincltax() >= $this->getconfigdata('free_shipping_subtotal'))
and replace this
$totals = mage::getsingleton('checkout/cart')->getquote()->gettotals(); $subtotal = $totals["subtotal"]->getvalue(); if (($request->getfreeshipping()) || ($subtotal >= $this->getconfigdata('free_shipping_subtotal'))
Comments
Post a Comment