• Home
  • Docs
    • User Manual
    • Magento 2 Manual
  • APIs
  • Back to Wizzy
  • Support
  • Home
  • Docs
    • User Manual
    • Magento 2 Manual
  • APIs
  • Back to Wizzy
  • Support
home/Knowledge Base/Shopify Manual/Troubleshooting

Elements to Hide on Search

33 views 0 February 27, 2023 March 2, 2023 alok

If you want to hide DOM once the search is executed, go to the console to inspect the element and look for the particular command. The code in wizzyCustom.js may look something like this.

window.onWizzyLoaded.push(function () {
window.wizzyConfig.events.registerEvent(
    window.wizzyConfig.events.allowedEvents.BEFORE_INIT,
    function (payload) {
      payload.common.lazyDOMConfig.identifiersToHideOnSearch.push("#header-slider")
      return payload;
    }
  );
);

Was this helpful?

Yes  No
Related Articles
  • Sync Processes
  • Search/Autocomplete is not working
  • Elements to Click on Search
Leave A Comment Cancel reply

Troubleshooting
  • Elements to Hide on Search
  • Sync Processes
  • Search/Autocomplete is not working
  • Elements to Click on Search
Categories
  • Magento 2 Manual
    • Advanced Setup
    • Autocomplete Menu
    • Catalog Index
    • Copy Configuration
    • General Setup
    • Search Form
    • Search Results Page
    • Setup
    • Store Credentials
  • Shopify Manual
    • Advance Setup
    • Attribute Configuration
    • Autocomplete Configuration
    • Catalog Index Configuration
    • Integrations
    • Miscellaneous
    • Search Result Page Configuration
    • Setup
    • Synonyms
    • Troubleshooting
  • User Manual
    • Account
    • Analytics
    • Billing
    • Currencies
    • Developers
    • Stores
    • Synonyms
  • team@wizzy.ai
  • +91-9106141411
  • © 2025 Wizzy Softech Pvt. Ltd. All Rights Reserved