В файле system/revolution.ocmod.xml строку

<add position="replace" offset="18"><![CDATA[

заменить на:

<add position="replace" offset="21"><![CDATA[

Удалить файл system\revolution_filter.ocmod.xml

После обновить кэш модификаторов в админке.


Добавить свой js код в настройки фильтра:

MegaFilter.prototype.beforeRequest = function() {

    var self = this;

mfp_view = localStorage.getItem('display');

self.eachInstances(function( self ){

        self._jqContent = $('<tmp>');

        self._hideLoader = function(){};

    });

};

MegaFilter.prototype.beforeRender = function( htmlResponse, htmlContent, json ) {

    var self = this;

localStorage.setItem('display', mfp_view);

window.location.href = this._lastUrl;

return false;

};

MegaFilter.prototype.afterRender = function( htmlResponse, htmlContent, json ) {

    var self = this;

localStorage.setItem('display', mfp_view);

};