Open product links in new page

If you need to open your product links in a new page you just need to add the attribute target="_blank"

To change all links from category pages and modules use the following vqmod

This works for Sellegance, Clearshop and Fortuna

<modification>
 <id>Open Product Link in New Page</id>
 <version>1.0</version>
 <vqmver>2.1.6</vqmver>
 <author>Everthemes</author>

 <file path="catalog/view/theme/*/template/product/" name="category.tpl,special.tpl,manufacturer_info.tpl,search.tpl">
 <operation>
 <search position="replace" error="skip"><![CDATA[<a href="<?php echo $product['href']; ?>"]]></search>
 <add><![CDATA[
 <a href="<?php echo $product['href']; ?>" target="_blank"
 ]]></add>
 </operation>
 </file>

 <file path="catalog/view/theme/*/template/module/" name="featured.tpl,latest.tpl,special.tpl,bestseller.tpl,tabbed_products.tpl,related.tpl">
 <operation>
 <search position="replace" error="skip"><![CDATA[<a href="<?php echo $product['href']; ?>"]]></search>
 <add><![CDATA[
 <a href="<?php echo $product['href']; ?>" target="_blank"
 ]]></add>
 </operation>
 </file>

</modification>

Download file

Short URL: http://goo.gl/volARS