-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.9.0
-- PHP version -- : 5.6.36
First, thanks for this (We avoid the shipping and payment blocks to refresh themselves when the selection is updated.) which made a world of difference.
I'm still having a minor issue with our Braintree payment plugin. When the address is updated or a new one is added during checkout, or when a product quantity is updated during checkout, the onHikashopBeforeDisplayView event is triggered. This in itself isn't a problem. But what it does is regenerate everything related to our payment method. That doesn't seem to be an issue, but since the page isn't reloaded, our JS doesn't re-initialize the payment's CC fields because it is waiting on a (document).ready.
You don't seem to be using AJAX (at least not jQuery). Is there something we can use when your block refreshes are complete as an event to start our reinitialization? I was trying to use (document).ajaxComplete, but since it doesn't seem that you're using AJAX proper (via jQuery at least) this doesn't do it.
If in fact you didn't intend to trigger the onHIkashopBeforeDisplayView event, maybe you could resolve that. Otherwise, any other solutions would be appreciated.
Thanks, Paul