import { patch } from '@web/core/utils/patch'; import { WebsiteSale } from '@website_sale/interactions/website_sale'; patch(WebsiteSale.prototype, { /** * Trigger a state update of the ClickAndCollectAvailability component when the combination info * is updated. * * @override */ _onChangeCombination(ev, parent, combination) { super._onChangeCombination(...arguments); this.env.bus.trigger('updateCombinationInfo', combination); }, });