Pass $reference to get_product_rate()