Posts Tagged ‘code fix’

tsl

Magento Get Review URL

By Head Lounger • October 17th, 2009 • Magento Tags: , ,

My latest project is a Magento Shopping cart. Alot of this theme needed some custom features added, not in the code core already. The first of this was adding the Review Link outside of the summary review template. This used to be done by using the reviews helper. In the latest version of Magento, this no longer exists.  After digging through core files, I finally found the class that creates the review URL. I first noticed the getReviewURL() was returning the curent products link page and NOT the review form page. I am not sure if this is a bug or was done on purpose. So I added a  new method to the class so that I can call the Review URL.