diff --git a/app/code/core/Mage/Core/Model/Layout/Update.php b/app/code/core/Mage/Core/Model/Layout/Update.php index 0d715cb0192..38de7e36bfa 100644 --- a/app/code/core/Mage/Core/Model/Layout/Update.php +++ b/app/code/core/Mage/Core/Model/Layout/Update.php @@ -246,13 +246,14 @@ public function saveCache() // Cache key is sha1 hash of actual XML string $hash = sha1($str); $tags[] = self::LAYOUT_GENERAL_CACHE_TAG; - Mage::app()->saveCache($hash, $this->getCacheId(), $tags, null); + $returnValue = Mage::app()->saveCache($hash, $this->getCacheId(), $tags, null); // Only save actual XML to cache if it doesn't already exist if (!Mage::app()->testCache(self::XML_KEY_PREFIX . $hash)) { - Mage::app()->saveCache($str, self::XML_KEY_PREFIX . $hash, $tags, null); + $returnValue = Mage::app()->saveCache($str, self::XML_KEY_PREFIX . $hash, $tags, null); } - return true; + + return $returnValue; } /** diff --git a/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml b/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml index 16186d92c2f..e6be697ed85 100644 --- a/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml +++ b/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml @@ -45,6 +45,9 @@
getPaymentHtml() ?>
__('Order was placed using %s', $_order->getOrderCurrencyCode()) ?>
+ getCouponCode()): ?> +
__('Coupon code used: %s (%s)', $this->escapeHtml($_order->getCouponCode()), $this->escapeHtml($_order->getDiscountDescription())); ?>
+
diff --git a/app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml b/app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml index 9aafa8fc376..4b06b088303 100644 --- a/app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml +++ b/app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml @@ -50,7 +50,7 @@ helper('customer/address')->getAttributeValidationClass('street'); ?>
  • - +
    @@ -58,7 +58,7 @@ helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
  • - +
    diff --git a/app/locale/en_US/Mage_Sales.csv b/app/locale/en_US/Mage_Sales.csv index c22c2960579..17f2a6ed83b 100644 --- a/app/locale/en_US/Mage_Sales.csv +++ b/app/locale/en_US/Mage_Sales.csv @@ -60,6 +60,7 @@ "Append Comments","Append Comments" "Apply","Apply" "Apply Coupon Code","Apply Coupon Code" +"Coupon code used: %s (%s)","Coupon code used: %s (%s)" "Approved the payment online.","Approved the payment online." "Are you sure you want to accept this payment?","Are you sure you want to accept this payment?" "Are you sure you want to cancel this order?","Are you sure you want to cancel this order?"