@maliha_archi Are you looking to make the filters in the blade or the eloquent bit that does the filtering in the backend?
Use whereBetween with low and high price:
$products = Product::whereBetween('price',[10,50])->get();
I m working on an e-commerce project. My system can search items. But I want to filter those searched items according to the range of prices. But I can't understand how to do that. Is there anybody who can help me in this regard.?
Please or to participate in this conversation.