Etiket: magento
Remove Flat Rate Shipping Option if Free Rate is showing in Magento
At your magento home directory, app/design/frontend/blank/default/template/checkout/onepage/shipping_method/available.phtml <?php if (!($_shippingRateGroups = $this->getShippingRates())): ?> <p><?php echo $this->__(‘Sorry, no quotes are available for this order at this time.’) ?></p> <?php else: ?> <dl> <?php $freeShippingMethodFlag = false; ?> <?php foreach ($_shippingRateGroups as $code => $_rates): ?> <?php if (!$freeShippingMethodFlag): ?> <dt><?php echo $this->getCarrierName($code) ?></dt> <dd> <ul> <?php foreach […]
Okumaya Devam