Search a Dynamic Category Page

Hello,

You may want to double-check that your selectors and event handlers have been modified to match the element ID’s on your dynamic page since the code was copied.

I’d also look into using the following APIs to identify the relation between the dynamic page and the items you’re searching for.
wix-data.query
dynamicDataset.getCurrentItem()

You may also want to review other similar posts in the forum to get a better idea. I’ve listed a few here:

I hope this helps!

Best regards,
Miguel