Site Search Button Implementation in SuiteCommerce
Implement the Site Search button in SuiteCommerce for easy access to search functionalities for both desktop and mobile themes.
The Site Search button is a feature prominently displayed by default in the SuiteCommerce Base Theme, enhancing user navigation across sites. Users need to click this button to bring up the Site Search input bar, allowing them to easily find products or information on the site.
Desktop Implementation
For desktop use, you can add the following HTML snippet to any template:
<div class="header-menu-search" data-view="SiteSearch.Button"></div>- Base Theme Module: Header
- Base Theme Template:
header_menu.tpl
Mobile Implementation
For mobile applications, the code differs slightly:
<div class="header-menu-searchmobile" data-view="SiteSearch.Button"></div>- Base Theme Module: Header
- Base Theme Template:
header.tpl
Important Note
The provided code is backward compatible with Commerce themes created prior to the 2018.2 release, ensuring that existing sites can incorporate this feature seamlessly without the need for significant modifications.
Who This Affects
- Developers: Integrate Site Search functionality into eCommerce platforms.
- Administrators: Configure themes and ensure proper visibility of the Site Search button.
Key Takeaways
- The Site Search button improves user experience by simplifying the search process.
- It's essential for both desktop and mobile views, ensuring consistent functionality across platforms.
- The HTML code provided is backward compatible with older themes, minimizing upgrade worries.
Frequently Asked Questions (4)
Is the Site Search button feature available for both desktop and mobile SuiteCommerce themes?
Do I need to make any significant modifications to older themes to implement the Site Search button?
Which templates do I need to modify to add the Site Search button in SuiteCommerce?
Is any additional configuration needed after adding the Site Search button HTML snippet to the templates?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
