Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Product Filters Rate Topic   - - - - -

 
  • orangejuice
  • Newbie
  • Trial users
  • Join Date: 03-Apr 17
  • 10 posts

Posted 14 April 2017 - 08:54 PM #1

Hi

I'm having some difficulty in getting the filters to work as required.

 

I want to filter against  exclusions. So I created a Feature 'Free from' (multiple select box) and added a few variants (Polyester, Fibre)

Then I created a filter on the 'Free From' feature.

Finally I created two products:

 

Product 1, set feature to Polyester

Product 2, set feature to Fibre

 

So on the customer screen Polyester and Fibre filters are visible. When the Polyester alone is selected, Product 1 is listed and when Fibre alone is selected Product 2 is listed which is as expected. However if both Polyester and Fibre are selected both products are listed but nothing should be listed as it should be inverted.

 

How can I achieve this?

 

Thanks



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19158 posts

Posted 17 April 2017 - 07:45 AM #2

It is required to examine the fn_get_products function in the (app/functions/fn.catalog.php file) and check how the filters are processed


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.