VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mike2010 on January 22, 2018, 01:15:53 AM

Title: Remove prices from Order confirmation email
Post by: mike2010 on January 22, 2018, 01:15:53 AM
Hi,

Joomla V3.8.3
Virtuemart V3.2.12
http://probes.ciderhousetech.com.au/index.php

I am trying to convert my virtuemart store from purchases to only quotes given.

I have managed to override  a lot of the language files etc, so, so far all pretty good.

What I am having an issue with is changing the product details in the Order confirmation for the client.

I would like to only keep the SKU number and Product name and quantity. I have tried to "comment out" the columns but it hasn't worked.

The attachment shows the information I am trying to get rid of.

thanks in advance

Mike
Title: Re: Remove prices from Order confirmation email
Post by: jenkinhill on January 22, 2018, 10:33:19 AM
Suggest you edit and override components/com_virtuemart/views/invoice/tmpl/invoice_items.php
Title: Re: Remove prices from Order confirmation email
Post by: mike2010 on January 22, 2018, 11:27:51 AM
That's the one I've tried to edit, but I can't seem to find the correct code to to comment out.
Title: Re: Remove prices from Order confirmation email
Post by: jenkinhill on January 23, 2018, 11:15:19 AM
Looks simple enough. On the top row of the table remove the trs where the class is priceCol, you probably can remove the second & third rows, but whatever you do you must ensure that each row has the same number of columns (trs).
Title: Re: Remove prices from Order confirmation email
Post by: mike2010 on January 24, 2018, 01:15:55 AM
I went through a process of elimination.

Thanks for you help.

Cheers