Is it possible to have the search field have prefilled text in it that goes away when customer types in the search box? Well, the answer must be yes, because it's active in the xcart demo store (which I am assuming is 4.6?)
How about 4.5.4?
In the file,
/skin/common_files/customer/search.tpl
I see within the <form...
Code:
{$search_prefilled.substring|default:$lng.lbl_enter_keyword|escape}
OK -- that's promising, and in my languages, lbl_enter_keyword is set to be "what are you looking for?"
OK, so far so good...
but if cleanup and reload the page, nothing is in the search box.
OK -- I verified some variables:
{$search_prefilled}
Code:
Array (6)
add_page_url => "&featured=Y"
forsale => "Y"
sort_condition => "xcart_featured_products.product_order"
_ => Array (1)
inner_joins => Array (1)
featured_products => Array (1)
on => "xcart_products.productid=xcart_featur..."
sort_field => "orderby"
sort_direction => 0
Hmm.... where is the language entry: $lng.lbl_enter_keyword ??
Is this part of the 4.5.4 code?
I have never seen it work. I can verify that it is working in 4.6.0 dev store.
WAS THIS ADDED or fixed for 4.5.4? Can I have the patch, please?
Thanks,
J