Hi, the product found in filtration. Can we filter the free shipping filter, if the price of the product is more than 50 dollars Free shipping?
Free shipping = Y OR Product Price > 50$
How do I run this configuration.
Automatically if the product price is more than $ 50 I want to be included in the free shipping filter.
fn.catalog.php
if (!empty($params['free_shipping'])) {
$condition .= db_quote(' AND products.free_shipping = ?s', $params['free_shipping']);
}
OR
// filter by free shipping
'F' => array (
'db_field' => 'free_shipping',
'table' => 'products',
'description' => 'free_shipping',
'condition_type' => 'C',
'map' => array(
'free_shipping' => 'Y',
)
)