From f06a0e9823e9ae21eb8ac7b3daae92cdddfdb6fc Mon Sep 17 00:00:00 2001 From: tjeujansen Date: Fri, 11 Apr 2025 14:24:12 +0200 Subject: [PATCH] fix: Personal Merchandising can be used without AJAX filtering --- Model/Config.php | 3 +-- etc/adminhtml/system.xml | 15 ++++++--------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Model/Config.php b/Model/Config.php index 9f1cfe3a..064b0922 100644 --- a/Model/Config.php +++ b/Model/Config.php @@ -388,8 +388,7 @@ public function getSearchTemplateId(Store $store = null) */ public function isPersonalMerchandisingActive(Store $store = null) { - return (bool) $this->getStoreConfig('tweakwise/personal_merchandising/enabled', $store) - && $this->isAjaxFilters($store); + return (bool) $this->getStoreConfig('tweakwise/personal_merchandising/enabled', $store); } /** diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index de0d527d..a86aa2c0 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -222,10 +222,7 @@ - - 1 - - + Magento\Config\Model\Config\Source\Yesno @@ -235,11 +232,6 @@ setting below) - - - Magento\Config\Model\Config\Source\Yesno - Note only enable this if you don't use javascript to send productviews/search/purchases requests to tweakwise - Name of cookie which holds tweakwise profile information, this is usually set in the tweakwise measure script. Or when analytics is enabled, it is done automaticly @@ -255,6 +247,11 @@ 1 + + + Magento\Config\Model\Config\Source\Yesno + Note only enable this if you don't use javascript to send productviews/search/purchases requests to tweakwise +