News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Receipt Format

Started by matthewgowan, September 13, 2012, 23:41:23 PM

Previous topic - Next topic

matthewgowan

Using Joomla 2.5.6 and VM2.0.10

How do I remove the hyperlink generated for a product in a receipt?

Sigh. I have customers (depending on their screen widths) just can't fathom the difference between the two items.
I think the easiest thing to do is leave the download link alone (that's critical because it's what they purchased).


ivus

Hi matthewgowan,

You need to modify your template.

/components/com_virtuemart/views/orders/tmpl/details_items.php @ line 54.

Remove the ANCHOR tag that surrounds the product name


<a href="<?php echo $_link?>"><?php echo $item->order_item_name?></a>



to



<?php echo $item->order_item_name?>




matthewgowan

I appreciate your tip, thank you very much for your time.

Unfortunately this edit (removing the anchor, etc) removed the product, the download link, shipping and payment info, etc.


matthewgowan

May I ask for additional assistance on this question?

ivus

Quote
Unfortunately this edit (removing the anchor, etc) removed the product, the download link, shipping and payment info, etc.

It shouldn't have. All that was removed was the anchor tag as you requested.