Last active
October 22, 2019 14:53
-
-
Save vanWittlaer/257d4705710f3af8451813e188518a1b to your computer and use it in GitHub Desktop.
To preset a filter facet (here: 'immediate delivery') in Shopware5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function ($, window, document, undefined) { | |
'use strict'; | |
window.onload = function () { | |
document.getElementById('delivery').checked = true; | |
$('#delivery').triggerHandler('change'); | |
}; | |
})(jQuery, window, document, undefined); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment