Handle block styling settings hiding

This commit is contained in:
Alex P 2023-11-23 16:43:20 +02:00
parent f338ef57df
commit 2c8352fa24
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -9,7 +9,7 @@ document.addEventListener(
const smartButtonLocationsSelector = '#field-smart_button_locations';
const smartButtonLocationsSelect = smartButtonLocationsSelector + ' select';
const smartButtonSelectableLocations = ['product', 'cart', 'checkout', 'mini-cart'];
const smartButtonSelectableLocations = ['product', 'cart', 'checkout', 'mini-cart', 'cart-block', 'checkout-block-express'];
const groupToggle = (selector, group) => {
const toggleElement = document.querySelector(selector);