From de299eafe8860a0f88ecd3444aafed3824934c52 Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Tue, 28 Nov 2017 18:09:37 +0100 Subject: [PATCH 1/3] product cache key: transform float to undercore --- lib/CoreShop/Model/Product.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CoreShop/Model/Product.php b/lib/CoreShop/Model/Product.php index 9750353c33..ce9e3a51c6 100644 --- a/lib/CoreShop/Model/Product.php +++ b/lib/CoreShop/Model/Product.php @@ -171,7 +171,8 @@ public static function getLatest($limit = 8) */ public static function getPriceCacheTag($product) { - return 'coreshop_product_'.$product->getId().'_price_' . $product->getTaxRate() . '' . \CoreShop::getTools()->getFingerprint(); + $taxRate = str_replace([',','.'], '_', $product->getTaxRate()); + return 'coreshop_product_'.$product->getId().'_price_' . $taxRate . '' . \CoreShop::getTools()->getFingerprint(); } /** From cb81037bc8555f3b64ae5bc74c7111149276c738 Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Tue, 28 Nov 2017 18:15:28 +0100 Subject: [PATCH 2/3] bump version --- plugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 52e431433e..9f8352bf1c 100755 --- a/plugin.xml +++ b/plugin.xml @@ -6,7 +6,7 @@ CoreShop eCommerce enhances Pimcore's with eCommerce features - 1.2.2 + 1.2.3 129 1486990363 \CoreShop\Plugin From 017c42d5cc4cfc2f5c140ef955e9b749eb4a719e Mon Sep 17 00:00:00 2001 From: cs-silentbob Date: Tue, 28 Nov 2017 18:39:47 +0100 Subject: [PATCH 3/3] Build Version 130 --- plugin.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index 9f8352bf1c..74456dd4f3 100755 --- a/plugin.xml +++ b/plugin.xml @@ -7,8 +7,8 @@ CoreShop eCommerce enhances Pimcore's with eCommerce features 1.2.3 - 129 - 1486990363 + 130 + 1511890786 \CoreShop\Plugin /CoreShop/lib