How to loop over 2 objects and match ID’s with different levels of objects
Once the user has selected more than 1 item, my code adds the item to a new object called MyBundle, i then need to loop over setBundles > products object and if it matches, return the object to then be able to apply discount to the total price, and do more etc.