How to filter view based on a parent node
If you are displaying all similar products on another node page - load the master node by adding an entity reference relationship to your view. I don't think you can  compare values of two different nodes in a view. So, Use the view PHP module to write a filter script that can compare both the fields from the nodes. 

Check out this 'Question' on using the view PHP module