[Debut Theme] Calling a function from theme.js

kjl
New Member
2 0 0

Hi,

is there a way to call a function from theme.js inside a section template?

I am trying to change the top right cart buttons behavior so it does not open the cart page but show the cart popup.
In theme.js there is a function named _showCartPopup but I have no idea if it is even possible to call that specific function outside of theme.js.

0 Likes