Scratch the last post. (I know I could edit it but it did work)
It worked fine but I got to wondering.
I wondered why I was supposed to put this code in the
beginning of the 'listing_img_title' file of the view "product" via the menu Display->Views.
I removed the code from the
listing_img_title.
I instead put it at the beginning of
listing_price.php.
Works fine.
So for anyone who wants to hide product prices for products with variants:
Display / Views / {Template for the Store } {product} :
listing_price.php
Add the code that Nicolas gave:
<?php if(!empty($this->row->has_options)) return true; ?>
to the very beginning of the file and it will work (atleast it did for me).
THANKS AGAIN!!!!!