Pavilion + Mega Filter Pro – Not updating content based on filters

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemePavilion + Mega Filter Pro – Not updating content based on filters

This topic has been marked as not resolved.

Current themePavilion v2.2.7
BurnEngine version1.2.7
OpenCart version2.3.0.2
vQmod version2.6.2
HTTP ServerApache/2
MySQL server version10.1.29-MariaDB

I am moving from OC to and have had MFP working well on the old shop.

In the new shop the filter works well, and itself it updates based on choices I make, but it does not update the content of the product listings itself.

I guess something is wrong with my JS settings:

MegaFilter.prototype.beforeRequest = function() {
  var self = this;

MegaFilter.prototype.beforeRender = function( htmlResponse, htmlContent, json ) {
  var self = this;

MegaFilter.prototype.afterRender = function( htmlResponse, htmlContent, json ) {
  var self = this;
element_query('.tb_listing_options', '1000,650,350,0');

    $('.tb_wt_products_system').on('click', '.display > a', function() {
      if ($(this).is('.tb_main_color')) {
        return false;
      $.cookie('listingType', $(this).data('view'), { path: '/' });

    if (!tbUtils.is_touch) {

                        item_hover('.tb_wt_products_system', '.tb_button_add_to_cart, .tb_button_compare, .tb_button_wishlist, .rating, .tb_label_stock_status', '.tb_label_special, .tb_label_new', 'flip');

adjustItemSize('.tb_wt_products_system', {"1200":{"items_per_row":5,"items_spacing":30},"1160":{"items_per_row":4,"items_spacing":30},"810":{"items_per_row":3,"items_spacing":30},"610":{"items_per_row":2,"items_spacing":30},"400":{"items_per_row":1,"items_spacing":30}});

function display_MFP(){};

Main container is set to: .tb_system_products

and header is set to: #content h1,#content h2

December 4, 2017 at 3:59 pm #62743

After struggling with this for a week, I post the answer here. Found it now.

The Mega Filter Pro has TWO places to input the correct JS selector. One GLOBAL and one for a SPECIFIC filter. I had updated the global, but not known about the specific one.

I then saved using the RED save button, and all spicific filters were updated and everything works well…

December 4, 2017 at 4:25 pm #62744


Sorry for not being able to help earlier, but glad you’ve managed to solve the problem! Will add a reminder for other that might make the same mistake as you.

ThemeBurn team

December 11, 2017 at 1:11 am #62836
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.