VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Scott Ackerman on August 09, 2012, 22:55:07 PM

Title: Remove hyperlink from product on Shopping Cart
Post by: Scott Ackerman on August 09, 2012, 22:55:07 PM
What is the template that controls the 'Shopping Cart' page? I want to remove the <A> tag from the individual products.
Title: Re: Remove hyperlink from product on Shopping Cart
Post by: greenparrot on February 08, 2013, 17:22:13 PM
Hi

I was looking for answer to this, in the end i worked it out

/public_html/components/com_virtuemart/views/cart/tmpl/default_pricelist.php

line 309

<?php echo JHTML::link ($prow->url$prow->product_name) . $prow->customfields?>

change to

<?php echo ($prow->product_name) . $prow->customfields?>

I'm not a php coder, you may be able to shorten it to

<?php echo $prow->product_name $prow->customfields?>

Hope this help anyone that maybe looking for a solution

Roy