by FredW » Fri Feb 14, 2014 2:43 pm
Hello Loren,
I finally got around to working on getting the search box on the shopping cart page and encountered something I don't understand. I'm working with a copy of the Multi-Use-Search.sst template. The template has code in it as shown below: (I've colored the lines in question.) I have set up the Search Page Layout such that I checked the option below:
]Search on store pages x Check here to display search on all store pages
I assumed that that check box turned set the VAR.SearchOnAllPages to 'Yes", but my testing of my copy of this template shows that is not the case. If it were the case, my thinking is that the search box would be displayed.
Can you help clarify what I am missing here?
Thanks
Fred
[-- IF VAR.SearchOnAllPages "yes" --]
[-- IF ANALYTICS_MULTI_DOMAIN --]
<form action="[-- SHOPPING_CART_URL BASE --]/productsearch.cgi?storeid=[-- STORE.ID --]" method="get" onSubmit="javascript:__utmLinkPost(this)">
[-- ELSE --]
<form action="[-- SHOPPING_CART_URL BASE --]/productsearch.cgi?storeid=[-- STORE.ID --]" method="get">
[-- END_IF --]
<input type="hidden" name="storeid" value="[-- STORE.ID --]">
[-- IF MiniCart --]<script type="text/javascript" language="JavaScript">
DisplayMiniCart("ss_cart_[-- STORE_Serial_Number --]","Subtotal","[-- VAR.CartIcon --]");
</script>[-- END_IF --]
<input type="text" name="search_field" class="search" size="13">
<input type="submit" value="[-- STORE.Go --]" class="search_submit">
</form>
[-- ELSE --]
[-- IF MiniCart --]<script type="text/javascript" language="JavaScript">
DisplayMiniCart("ss_cart_[-- STORE_Serial_Number --]","Subtotal","[-- VAR.CartIcon --]");
</script>[-- END_IF --]
[-- END_IF --]