I am trying to build a custom search template, but I cannot get past the point that for every product, SS adds the link I want it to add, plus another text link.
THE GOAL: I do NOT want any Pages indexed for search - I ONLY want Products indexed for search.
http://www.beeronthewall.com/cgi-bin/sc/productsearch.cgi?search_field=shirt
This is what my Search template looks like (my workaround), and it looks OK to the shopper, but the html still shows a commented out line for each product:
<table width="90%" align="center" cellspacing="5">
[-- LOOP SEARCH 6 --]
[-- IF SEARCHLINK --]
<!--
[-- END_IF --]
<td class="page" valign=bottom align=center>
[-- SEARCHRESULT --]
</td>
[-- IF SEARCHLINK --]
-->
[-- END_IF --]
[-- END_LOOP SEARCH --]
</table>
I have 2 override templates: The Product template is displaying the link to the MoreInfo page correctly. However, based on a previous post, I tried creating a Page Override template that only has a comment (see below), but it is not recognizing it. It still adds a comment line no matter how I try to slioce it up...
Maybe I just have a setting misconfigured? Maybe I am way off on this - it still seems a bit confusing to me. Or is it a SS issue that there is no way around?
Any help would be greatlt appreciated. Thanks.