Hello I am patching WebsiteSale.prototype to modify the behavior of the add to cart button. Everything is working fine except I need to show the little popup when I press add to cart, I see in that by default the button uses updateCartNavBar and showCartNotification but I can't import these functions.
I tried
import { updateCartNavBar, showCartNotification } from "@website_sale/js/website_sale_utils";or
import { updateCartNavBar, showCartNotification } from "@website_sale/js/utils";The former is giving me an error saying updateCartNavBar is not a function and the latter is saying that it cannot import from website_sale/js/utils
Any way I can fix that