Is there any event trigger to place my code after adding bundle to cart?

Yes, you can add a custom liquid / custom HTML section to add your own javascript (js). The js will be executed after adding a bundle to the cart successfully. 

custom liquid in the theme editor

The testing code:

<script>function afterBYOBAddtoCart(variants, variant_id) {
	console.log('variants', variants); console.log('variant_id', variant_id); console.log('hello, in afterBYOBAddtoCart')

Still need help? Contact Us Contact Us