This repository was archived by the owner on Oct 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/local/Emico/AttributeLanding/Model/Tweakwise/UrlStrategy Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function decorateTweakwiseRequest(Zend_Controller_Request_Http $httpReque
109
109
}
110
110
foreach ($ page ->getSearchAttributesKvp () as $ key => $ values ) {
111
111
foreach ($ values as $ value ) {
112
- $ tweakwiseRequest ->addFacetKey ($ key , $ this ->getTweakwiseAttributeValue ($ key , $ value ));
112
+ $ tweakwiseRequest ->addFacetKey ($ key , $ this ->getTweakwiseAttributeValue ($ value ));
113
113
}
114
114
}
115
115
return $ tweakwiseRequest ;
@@ -121,10 +121,10 @@ public function decorateTweakwiseRequest(Zend_Controller_Request_Http $httpReque
121
121
* @param string $value
122
122
* @return int|null|string
123
123
*/
124
- protected function getTweakwiseAttributeValue (string $ key , string $ value )
124
+ protected function getTweakwiseAttributeValue (string $ value )
125
125
{
126
126
try {
127
- return $ this ->getSlugAttributeMapper ()->getAttributeValueBySlug ($ key , $ value );
127
+ return $ this ->getSlugAttributeMapper ()->getAttributeValueBySlug ($ value );
128
128
} catch (Emico_TweakwiseExport_Model_Exception_SlugMappingException $ exception ) {
129
129
return $ value ;
130
130
}
You can’t perform that action at this time.
0 commit comments