The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 12-28-2011, 04:38 PM
NewYankee's Avatar
NewYankee NewYankee is offline
 
Join Date: Oct 2011
Posts: 3
Default Disable search parameters?

Is it possible to disable search looking through the description of an item? Thanks!
  #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!
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:39 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.