Miva Merchant Development by Scot's Scripts

FACETS: Start With Facets Closed in Shadows

Miva Knowledge Base
FACETS: Start With Facets Closed in Shadows

WARNING:

This information is offered "AS IS" for internal reference only. Use at your own risk.
Does AI actually understand your Miva Merchant store? Our smart JSON-LD schema generator makes sure it does. Contact us to get started. (more info)

FACETS: Start With Facets Closed in Shadows

Scot Ranney • October 15, 2024 (updated: February 03, 2025)


THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED;
THE AUTHOR DISCLAIMS ALL LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR STORE DISRUPTIONS ARISING FROM ITS USE.


Note: This requires that the store is using the Facets template in the global user interface settings. If the store is using the Product List Flex component you're out of luck as of Oct 2024.

Start the facets collapsed in Shadows by changing instances of data-a11y-toggle-open attribute to data-a11y-toggle-close in the Facets user interface global settings area.

Site with default miva facets: https://www.coffeehouseexpress.com/SRCH.html?Search=coffee


https://www.scotsscripts.com/mvblog/facets-start-with-facets-closed-in-shadows.html

mvkb_facets