Hi
Thanks for helping me out
I’m using refresh theme
I just want to update and open the cart drawer on any button click
I have attached a example how I want it.
Please help me
Would be appreciate
TIA ![]()
<script>
console.log('test')
$("body").on("click","button.opencart", function(){
var cart = new theme.CartDrawer
console.log('test')
cart.open();
}) </script>