Page 1 of 1

Search Template Formatting

PostPosted: Thu Oct 12, 2017 12:04 pm
by BFChris
Is there a way to get the Search forms and Search Results in a Search template to output without table tags?

Thanks!

Re: Search Template Formatting

PostPosted: Mon Oct 16, 2017 10:13 pm
by ShopSite Lauren
You can use [-- SEARCHRESULT_FORM FORM_ONLY --]</form> (make sure you remember to close the form since the tag only opens the form). This still puts the form in a table, but it is only the results form, not the additional options like sorting, result count, etc. Below are tags for those other elements:

[-- SEARCHRESULT_FORM FORM_ONLY --]
[-- IF SearchResultCount --][-- SearchResultsPerPage --][-- END_IF --]
[-- IF SearchSortBy --][-- SearchSortBy --][-- END_IF --]
[-- IF SearchResultPrevNext --][-- SearchPrevNext --][-- END_IF --]
[-- IF SearchResultCount --][-- SearchResultCount--][-- END_IF --]
</form>

Re: Search Template Formatting

PostPosted: Tue Oct 17, 2017 7:37 am
by BFChris
Yes, I'm already using that tag. It still leaves a table wrapped around the Search inputs.

Same question for Gift Certificate elements?

Thanks!

Re: Search Template Formatting

PostPosted: Tue Oct 17, 2017 1:08 pm
by ShopSite Lauren
Unfortunately, there aren't different tags for the gift certificate elements to remove the tables.