/addsynapse-search/result-grid-item.php to override it. * See addsynapse-search-filter/templates/result-item.php for the full explanation of how * these templates are cloned/filled by the JS, and docs/STYLING.md for a * worked example. * * Same data-wosearch-field values as result-item.php (title/image/price/ * price-regular/stock/options), plus: * badge text — "Sale" / "Out of stock" label over the image * (hidden when neither applies). * The image wrapper below has a fixed * aspect-ratio box (.wosearch-grid-item-thumb, see addsynapse-search.css) so cards * do not jump around while images are still loading — keep that wrapper if * you care about layout shift. * * @package Addsynapse_Search_Filter */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?>