Jump to content

How to Listen for Combination Creation/Deletion on BO Product page


Recommended Posts

My module adds a tab to the back office product sheet. I need to know what combinations are currently active on the product. Since in v1.7 the combinations are created and deleted via AJAX without refreshing the page, it's not enough just to know what the combinations are on page load. I also need to know about combinations created and deleted via AJAX. Whenever the combinations change, the following URL routes are automatically called:
supplier/refresh-product-supplier-combination-form
attribute/product-form-images
and a couple of others.

So, it seems like there's some way to listen for these combination edits via JavaScript, but I don't quite understand how.

Can anybody enlighten me on how this works?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...