News:

Looking for documentation? Take a look on our wiki

Main Menu

order prices manually? Sales tax, without tax, tax etc..

Started by Newb2vm, August 30, 2012, 05:14:26 AM

Previous topic - Next topic

Newb2vm

hello again,

Iam having a small issue where I would like to Put the 'Sales price' below the other prices , without-tax,  etc..

is there some way of doing this through VM2.1 please.


ITEMORDER
Sales price: $ 7.08   3
Before tax: $ 6.16   2
GST (15%): $0.92   1

Cheers
The greatest learning curve , is to be willing to learn..
~myself.

ivus

Hi Newb2vm,

Kia ora mate.

Are you referring to the Products Details page or the Cart page?

In either case you'll need to modify/adjust the template pages:

Products Details : /components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
Cart: /components/com_virtuemart/views/cart/tmpl/default_pricelist.php

I hope this helps.

Newb2vm

Kia Ora Bro !,

thats the one I was referring to lol.. I knew that ... sooner or later I would have to do some NinJitsu.. to style the template the way I wanted it lol.

much appreciated!!.

was trying to see how far I could go before performing any Arts upon the scripts lol...

Q. do I make some kind of backup/copies to these scripts beforehand so that when an update is released I don't loose everything?
I. learn't from VM1.3 not to go styling the default templates.

Cheers.
The greatest learning curve , is to be willing to learn..
~myself.

ivus

Hi Newb2vm,

Technically you should never touch core code because of updates. It's also very useful for debugging template issues because you can always revert back to the original to see if it was working before you made changes.

What you want to do is create template overrides within your template folders. Here are some links to tutorials on how to achieve this (it's very simple).

http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
http://docs.joomla.org/Understanding_Output_Overrides

Good luck.

BTW.. I'm an Aussie... got kiwi mates  ;)

Newb2vm

Excellent stuff M8 , Fair dinkum , Ozzy aye.. nice.

50/50 here.. Kiwi/Ozzy , best of both worlds lol.

too HOT over there for this Southerner lol.

Thanks again for the help.. will look into over-rides and stuff tomorrow.

Again Much appreciated.

Cheers.
The greatest learning curve , is to be willing to learn..
~myself.