Run Js Code After Ajax Filtering
-
Hi there ,
I want to create a hierarchy sort of effect with the categories showing in the filter.
I am giving categories classes on initial page load via JS code in functions.php , you can view it here
The issue is the for obvious reasons the code does not get re-triggered when I filter products via Ajax filtering.
Is there a way to trigger this code again?,
ideally if there is an solution which gives each parent category, sub categories different classes for layout purposes that would be amazing.
Looking forward to your response , ty 🙂The page I need help with: [log in to see the link]
The topic ‘Run Js Code After Ajax Filtering’ is closed to new replies.