Blog Sections Open
Restricting AjaxSearch to One Section of the Site
How to keep AjaxSearch focused on one parent branch instead of scanning the whole site, and which parameters are easiest to misuse.
AjaxSearch can be narrowed to one section, but it is easy to mix up parents, documents, and exclusion syntax. If the search keeps scanning the whole site, the problem is usually not the concept but the way the limits are passed.
[!AjaxSearch?
&ajaxSearch=`0`
&showResults=`0`
&landingPage=`169`
&showInputForm=`1`
&parents=`in:7`
&depth=`5`
!]
Start with the narrowest possible parent branch and confirm the landing page logic does not re-run search against a broader scope. If exclusions do not work, simplify the call first, verify the positive parent filter, then layer exclusions back in one at a time.
Passing the Visitor Query into Ditto Search.extender
How to feed a real input value into Ditto Search.extender instead of hard-coding the search string in the snippet call.
Troubleshooting Shopkeeper Cart Recalculation Helpers
Why the quantity helper in the large checkout cart may stop appearing and how to verify the Shopkeeper call, helper target, and JavaScript binding.