Hi,
1. We use new checkout and new add to cart system with cart notify plugin + vex popup.
I have added such code to checkout show_block_vcart view:
<a class="btn btn-primary hikashop_cart_input_button" rel="nofollow" href="/product/updatecart/add-1/cid-5093" onclick="if(window.hikashop.addToCart) { return window.hikashop.addToCart(this); }" data-addtocart="5093">Add to cart</a>
It seems i cant remove anything from this code or it wont work properly.
The only issue is that on click i get vex popup. So as a work around i also have added such css:
.view-checkout .vex {display:none;}
body.view-checkout.vex-open {overflow:visible !important;}
It works fine but maybe there is a proper way to disable vex popup adding some code to element??
If i use only this:
<a class="btn btn-primary hikashop_cart_input_button" rel="nofollow" href="/checkout/product/updatecart/add-1/cid-5093">Add to cart</a>
Page refreshes and product is added to cart without any popup. However i would like to use ajax solution above as it looks better and loads faster...
2. Another thing. Maybe it would be possible to add some feature to hikashop module it self. So you could choose to display a popup when product is added or not. Example, if you have some module which displays extra products in checkout a popup sometimes isnt welcome.
Kind Regards