Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

BCSE Advanced Filter mod - anyone have any problems with this?

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 12-18-2009, 09:09 AM
 
heather@MX1 heather@MX1 is offline
 

Senior Member
  
Join Date: Oct 2009
Posts: 123
 

Default BCSE Advanced Filter mod - anyone have any problems with this?

I'm curious to hear from anyone using this mod, and whether you are having any problems with it? It does not seem to work properly, and I've been going back and forth with BCSE for 3 weeks now. Some of the issues I have:
- it does not "narrow down the filter values as the customer selects filters"
- when the filter selections return "no available items", it seems to block all items from appearing under that category and even choosing the back button (because there is no "reset filter" otpion) does not bring all the items back into view, even the filter boxes are gone. The only way I found to fix this is to go to the admin side and disable the mod, then re-enable it.
I also don't like the fact it does not have a "reset filter" button. I'd appreciate hearing from those of you using this mod, or anything similar.
__________________
4.4.5 Gold
Reply With Quote
  #2  
Old 01-26-2010, 04:13 AM
  zone1creative's Avatar 
zone1creative zone1creative is offline
 

eXpert
  
Join Date: Jan 2009
Location: Hove, UK
Posts: 341
 

Default Re: BCSE Advanced Filter mod - anyone have any problems with this?

Hi,

I am currently using it and have the same issues.

The essential feature would be to be able to reset the filter when moving between categories.

As customers get confused as the filter may be left on and so not all the images will be shown.
__________________
Pinakin Patel
Zone1 Creative Ltd
http://www.zone1creative.co.uk/
Reply With Quote
  #3  
Old 01-26-2010, 04:43 AM
  zone1creative's Avatar 
zone1creative zone1creative is offline
 

eXpert
  
Join Date: Jan 2009
Location: Hove, UK
Posts: 341
 

Default Re: BCSE Advanced Filter mod - anyone have any problems with this?

I have managed to add a reset filter button.

Do the following

edit the skin1/modules/Advanced_Filter/customer_filter.tpl file

change

Code:
<div class="filter_input"> <input type="button" value="{$lng.lbl_bcse_advf_filter_input}" onclick="javascript: apply_filter();" /> <input type="button" value="Reset Filter" onclick="javascript: reset_filter();" /> </div>

to

Code:
<div class="filter_input"> <input type="button" value="{$lng.lbl_bcse_advf_filter_input}" onclick="javascript: apply_filter();" /> </div>

then edit skin1/modules/Advanced_Filter/customer_filter.js file

add the following function below the apply_filter()

Code:
function reset_filter(){ if(!document.getElementById('customer_filter')) return; var wrapper = document.getElementById('customer_filter'); var selectObjs = wrapper.getElementsByTagName('select'); if(selectObjs.length < 1) return; var filter_query = ''; if((!target_content_id || !document.getElementById(target_content_id)) && document.forms['filter_form']){ document.forms['filter_form'].elements['mode'].value = 'filter_update'; document.forms['filter_form'].submit(); }else{ ajax_filter_refresh(post_action,filter_query); } }
__________________
Pinakin Patel
Zone1 Creative Ltd
http://www.zone1creative.co.uk/
Reply With Quote

The following user thanks zone1creative for this useful post:
heather@MX1 (01-27-2010)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:24 PM.

   

 
X-Cart forums © 2001-2020