Skip to content

Commit

Permalink
Added currency code to cache-info for new products block (OpenMage#4514)
Browse files Browse the repository at this point in the history
* Added currency code to cache-info

* moved to parent method

* moved to parent method
  • Loading branch information
sreichel authored Jan 31, 2025
1 parent 488c021 commit 4dc680e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/core/Mage/Catalog/Block/Product/New.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function getCacheKeyInfo()
Mage::getSingleton('customer/session')->getCustomerGroupId(),
'template' => $this->getTemplate(),
$this->getProductsCount(),
Mage::app()->getStore()->getCurrentCurrencyCode(),
];
}

Expand Down

0 comments on commit 4dc680e

Please sign in to comment.