Magento Forum

   
Layered Navigation Parameter Validation
 
tdeppe123
Jr. Member
 
Total Posts:  2
Joined:  2012-09-19
 

Hey,

im asking because i have been stuck on this for more than a whole day now :(

So, when i use(click) a normal filter for a dropdown field on a category page, i get a working filter on the page and an url like this:

http://www.my-shop.de/category-page.html?<b>attribute_code=17558</b>

If i change the param in any way, whether i add any char to the attribute_code or to the value, the resulting page doesnt contain any filters or errors, just like it should be. My Question is:

<b>Where are these filter-params validated?</b> I have searched the whole “Mage_Catalog” Module but couldnt find the place. I know that there is a validation for the attribute_name as well as for the given value. My current guess is that this is validated on JavaScript somehow, but actually im completely clueless.. :(

any help is very appreciated, thanks!

Thomas

 
Magento Community Magento Community
Magento Community
Magento Community
 
tdeppe123
Jr. Member
 
Total Posts:  2
Joined:  2012-09-19
 

Nevermind guys, i found it:

Mage_Catalog_Model_Layer_Filter_<FilterType>

Function: public function apply(Zend_Controller_Request_Abstract $request, $filterBlock)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top