The most important tool in every online store is the filter. It helps customers find the right product. And well-tuned filters help the buyer come to a purchase faster. The "Logic AND for filter" add-on will help you with this.
The standard logic of the filters is as follows: products are shown that correspond to AT LEAST ONE of the selected variants within one filter.
The "Logic AND for filter" add-on allows you to assign another logic to specific filters. Products are shown that correspond to EACH of the selected options within one filter.
The screenshots clearly show the difference using the add-on.
For cs-cart version 4.15.2 and below, add the following line to the fn_generate_feature_conditions function (file fn.filters.php) after the first foreach:
fn_set_hook('generate_feature_conditions_with_variants', $items, $selected_items, $join, $condition, $lang_code, $params, $variant_features, $value_features, $valueint_features, $_join, $conditions);
- 4.18.3
- 4.18.2.SP1
- 4.18.2
- 4.18.1.SP1
- 4.18.1
- 4.17.2.SP3
- 4.17.2.SP2
- 4.17.2.SP1
- 4.17.2
- 4.17.1
- 4.16.2
- 4.16.1
- 4.15.2
- 4.15.1.SP4
- 4.15.1.SP3
- 4.15.1.SP2
- 4.15.1.SP1
- 4.15.1
- 4.14.3.SP1
- 4.14.3
- 4.14.2.SP1
- 4.14.2
- 4.14.1.SP1
- 4.14.1
- 4.13.3
- 4.13.2.SP2
- 4.13.2.SP1
- 4.13.2
- 4.13.1
- 4.12.2
- 4.12.1
- 4.11.5
- 4.11.4
- 4.11.3
- 4.11.2
- 4.11.1
- 4.10.4.SP1
- 4.10.4
- 4.10.3
- 4.10.2
- 4.10.1
- 4.9.3
- 4.9.2
- 4.9.1
- 4.8.2
- 4.8.1
- 4.7.4
- 4.7.3
- 4.7.2
- 4.7.1
- 4.6.3
- 4.6.2
- 4.6.1
- 4.5.2
- 4.5.1
- 4.4.3
- 4.4.2
- 4.4.1
- 4.3.10
- 4.3.9
- 4.3.8
- 4.3.7
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.0.3
- 4.0.2
- 4.0.1
- English
- Русский
CS-Commerce Software Solutions is the official partner of CS-Cart. The company was founded in 2013 for developing only for online stores with CMS CS-Cart. Our specialists have grown along with the platform and have gained a lot of experience working exclusively with Cs-Cart.
Our team has participated in the development of over 200 projects and created over 70 addons.