View Single Post
  #2  
Old 01-04-2012, 05:13 AM
Maya's Avatar
Maya Maya is offline
Ecwid Team
 
Join Date: Feb 2010
Location: Ecwid headquarter
Posts: 5,876
Default

Yes, it is possible to hide Search bar on products details page. It can be done using our API.

Please, add following code in the end of your page where Ecwid has been placed:
Code:
<script type="text/javascript">
Ecwid.OnPageLoad.add(function(page) {
if (page.type == 'PRODUCT') {
    document.getElementById('SearchPanel-1').style.display = "none";
}
else {
     document.getElementById("SearchPanel-1").style.display = "block";
}
});
</script>
Once you add this code on your Ecwid store page, search bar will be hidden on product description page.
__________________
Maya N., Ecwid Team

------------------
Welcome to our new Help Center!