I have followed this thread to make related products on Drupal commerce.
Everything worked well, but when I updated the Views module, the PHP code from filter criteria was gone and this message appeared:
This view has been automatically updated to fix missing relationships. While this View should continue to work, you should verify that the automatic updates are correct and save this view.

Any solution for this?