Sokol
4 months ago
530
3
Laravel

Laravel fully dynamic catalog filter

Posted 4 months ago by Sokol

Hello there. My current quest is to make multifilter for e shop.

I found out how to generate filter form and collect data from it by js

I'm able to generate a JS object for my filters, im also able to succesfully pass it to controller by AJAX

This works fine, but i stuck and have no idea what to do next...

I've tried to use FullUrlWithQuery() function, but it generates a query for controller URL and i need it for current catalog url

I dont ask for code, just give me a direction, where to dig

Please sign in or create an account to participate in this conversation.