Skip to content

Instantly share code, notes, and snippets.

View Tomasz-Silpion's full-sized avatar
💭
I may be slow to respond.

Tomasz Gregorczyk Tomasz-Silpion

💭
I may be slow to respond.
View GitHub Profile
@Tomasz-Silpion
Tomasz-Silpion / lestifpc_manadev.patch
Created September 15, 2023 00:02 — forked from peterjaap/lestifpc_manadev.patch
Fix Lesti_Fpc + Manadev SEO Layered Navigation
diff --git a/app/code/community/Lesti/Fpc/Helper/Data.php b/app/code/community/Lesti/Fpc/Helper/Data.php
index 94e9ea1..daec7e1 100644
--- a/app/code/community/Lesti/Fpc/Helper/Data.php
+++ b/app/code/community/Lesti/Fpc/Helper/Data.php
@@ -70,7 +70,13 @@ class Lesti_Fpc_Helper_Data extends Lesti_Fpc_Helper_Abstract
'port' => $request->getServer('SERVER_PORT'),
'full_action_name' => $this->getFullActionName());
$uriParams = $this->_getUriParams();
- foreach ($request->getParams() as $requestParam =>
+ $manadevParams = array();
@Tomasz-Silpion
Tomasz-Silpion / pca.js
Last active March 21, 2019 13:33 — forked from thomaslorentsen/pca.js
Custom integration of post code anywhere
pca.on("load", function (type, id, control) {
control.listen("populate", function (address) {
console.log('here');
});
});