Versions: Cs-cart 4.1.x-4.16.x
Editions: Multivendor, Multivendor Plus, Multivendor Ultimate, Cs-cart Ultimate, Cs-cart
Extended description block
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, $conditions);
No questions yet