VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: alphadan on December 06, 2013, 22:22:37 PM

Title: Dislaying Price in a different Order... Base Price then Tax and then final price
Post by: alphadan on December 06, 2013, 22:22:37 PM
Hello i have a question how would i change the order of prices?

I mean my prices display like this


Final Price:  114,00 Bs
Base Price: 100,00 Bs
TAX:              14,00 Bs


but i need it like this

Base Price: 100,00 Bs
TAX:              14,00 Bs
Final Price:  114,00 Bs

I mean the displaying order of the prices...

Using VM 2.0.25d
Joomla 2.5.11

this is the live site link
http://tuwebprofesional.net/Taller/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1&virtuemart_category_id=2

Title: Re: Dislaying Price in a different Order... Base Price then Tax and then final price
Post by: jenkinhill on December 07, 2013, 11:57:04 AM
Suggest you update your insecure Joomla version. http://forum.virtuemart.net/index.php?topic=118683.0

You can use template overrides to change the display order of prices, eg the file to edit to make an override for product details price display is components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
Title: Re: Dislaying Price in a different Order... Base Price then Tax and then final price
Post by: alphadan on December 08, 2013, 00:15:47 AM
Thx for your time jenkinhill i made what you told me and it worked fine.

but there in the category products still showing the other price order tried to do the same in

\components\com_virtuemart\views\category\tmpl\default.php

but it doesnt affect that area what file should i edit.

also updated the joomla version thx for the sugerencies.
Title: Re: Dislaying Price in a different Order... Base Price then Tax and then final price
Post by: alphadan on December 10, 2013, 01:50:00 AM
Solved the problem i was right the overide has to be done here...

\components\com_virtuemart\views\category\tmpl\default.php


but when i tested had a template enabled wich has a overides this file. but i figured it out now i have to find where to overide it in the template.
Title: Re: Dislaying Price in a different Order... Base Price then Tax and then final price
Post by: rajibdasyd on February 13, 2014, 02:10:22 AM
Hello, I'm new to this project that I'm developing in Joomla. I'm asked to do same thing but can't do it yet. Could you instruct me what to and how to change the default_showprice.php file?

Example with code will be really great help for me.

Thanks in advance.