[Skip to main content](#vessel-content)

#   template overide

##

- **[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")**
- [![plumbingdeals's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile") Topic Author
- [ Offline](/forum/user/3607-plumbingdeals)

Less More

- Posts: 223
- Thank you received: 1
-
-

15 years 1 week ago -  15 years 1 week ago [\#27875](#27875) by [plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")  *[template overide](/forum/4-how-to/27875-template-overide#27875 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")* was created by *[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")*

i would like to create an overide for the price display of this view....
image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/page.png

which php file would i edit?

thank you

- [ ![page.png](/forum/attachment/1908) ](/forum/attachment/1908 "page.png") [ ](/forum/attachment/1908?download=1 "page.png")

Last edit: 15 years 1 week ago by [plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

15 years 1 week ago [\#27878](#27878) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27878 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

The prices are displayed by the file "listing_price" of the view "product" that you can edit via Display-&gt;Views.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")**
- [![plumbingdeals's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile") Topic Author
- [ Offline](/forum/user/3607-plumbingdeals)

Less More

- Posts: 223
- Thank you received: 1
-
-

15 years 1 week ago [\#27887](#27887) by [plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")  Replied by *[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27887 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

thanks for the usual quick reply!

i find what you are referring to, but don't see where i could change the word "each", which is what i am after.

thanks...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

15 years 1 week ago [\#27889](#27889) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27889 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

It's that line:
echo JText::_('PER_UNIT');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")**
- [![plumbingdeals's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile") Topic Author
- [ Offline](/forum/user/3607-plumbingdeals)

Less More

- Posts: 223
- Thank you received: 1
-
-

15 years 1 week ago [\#27918](#27918) by [plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")  Replied by *[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27918 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

i should have been more specific, my bad...sorry

found that and was able to change it from "each"

what i would like is for one of the prices to say "list price", and the other to say "our price"

also, just so you will know...we are sampling the free version in preparation to purchase the business edition, and just want to be sure we can adapt it to our needs.

thanks...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

15 years 1 week ago [\#27921](#27921) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27921 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

Well, for that you can change:
echo JText::_('PER_UNIT');

to:
static $first = true;
if($first){
$first=false;
echo ' list price';
}else{
$first = true;
echo ' our price';
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")**
- [![plumbingdeals's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile") Topic Author
- [ Offline](/forum/user/3607-plumbingdeals)

Less More

- Posts: 223
- Thank you received: 1
-
-

15 years 1 week ago [\#27929](#27929) by [plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")  Replied by *[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27929 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

thank you! works great!
last question...anyway to to have reverse prices? i.e. our price above list price

thanks....

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

15 years 1 week ago [\#27943](#27943) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27943 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

You can add the line below after the first &lt;?php tag of that view file:
$this-&gt;row-&gt;prices = array_reverse($this-&gt;row-&gt;prices);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")**
- [![plumbingdeals's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile") Topic Author
- [ Offline](/forum/user/3607-plumbingdeals)

Less More

- Posts: 223
- Thank you received: 1
-
-

15 years 1 week ago [\#27967](#27967) by [plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")  Replied by *[plumbingdeals](/forum/user/3607-plumbingdeals "View plumbingdeals's Profile")* on topic *[Re: template overide](/forum/4-how-to/27875-template-overide#27967 "i would like to create an overide for the price display of this view....  which php file would i edit?  thank you")*

thank you, thank you, thank you!

completed mod can be viewed here

[ ](http://virtuemart.bestmfgco.com/hansgrohe/product/3-talisc-pot-filler-wall-mounted-04218920-rubbed-bronzehttp://)[ virtuemart.bestmfgco.com/hansgrohe/produ...ed-04218920-rubbed-b](http://virtuemart.bestmfgco.com/hansgrohe/product/3-talisc-pot-filler-wall-mounted-04218920-rubbed-b)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3ODc1LXRlbXBsYXRlLW92ZXJpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.150 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
