We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 130a3de commit 4c1030fCopy full SHA for 4c1030f
1 file changed
Model/Controller/ResultPlugin.php
@@ -134,8 +134,15 @@ private function isEnabled()
134
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
135
);
136
137
- /* check if Plumrocket AMP enabled */
+
138
if ($enabled) {
139
140
+ /* check if Amasty AMP enabled */
141
+ if ($this->request->getParam('is_amp')) {
142
+ return false;
143
+ }
144
145
+ /* check if Plumrocket AMP enabled */
146
$isAmpRequest = $this->scopeConfig->getValue(
147
'pramp/general/enabled',
148
0 commit comments