VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: torm on April 19, 2013, 11:54:16 AM

Title: Change position of price with VAT for without VAT.
Post by: torm on April 19, 2013, 11:54:16 AM
Hello guys,

I would like to use like main price the price without VAT. So basically it would be shown in blog view etc. and in details it would be the main price and the secondary would be price with VAT.

How its possible?
Title: Re: Change position of price with VAT for without VAT.
Post by: jenkinhill on April 20, 2013, 11:10:43 AM
Don't know what you mean by blog view, but the template displaying the product prices is components/com_virtuemart/views/productdetails/tmpl/default_showprices.php   

You can change the order in which prices are echoed. Use the edited file as a template override.

For  override help see http://www.ostraining.com/blog/joomla/overrides  and also  http://docs.virtuemart.net/tutorials/33-templating-layouts.html