Maybe someone can help me with the syntax for 4.1.9 for this same issue (making all the check boxes ON for the Advanced Search.)
The 4.19 code now looks like this, pulling whatever is in the POST, which is empty by default. We want to default the check boxes on, even if they've searched previously:
PHP Code:
<input type="checkbox" id="posted_data_by_sku" name="posted_data[by_sku]"{if $search_prefilled eq "" or $search_prefilled.by_sku} checked="checked"{/if} />
I tried changing it to
PHP Code:
<input type="checkbox" id="by_sku" name="by_sku" checked="checked" />
But that hasn't worked.
Any ideas -- do I have the
name wrong?