functional changes of getProduct method to fetch variant details