want to displey price divided to 12

  • Posts: 63
  • Thank you received: 1
11 years 6 months ago #133785

hello every one :-)

i know little bit php but not knowing well the joomla behaving in components codes...

so my goal is to displey the price on product page and the price on categry displey -> the price divide to 12 for etc if i will put 60$ on backend will show fronted 5$... but that will not heart the checkout price the checout price will be 60$ ...
how i can do that !? i tried to go inside and edit some things in components/com_hikashop/views/product/tmpl
option.php
option_price.php

but nothing ... i will very tankfull for helpres...

tank u ido.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 1
11 years 6 months ago #133795

got it...

line 251
components/com_hikashop/views/product/tmp/listing_price.php

if($this->params->get('price_with_tax')){

echo $this->currencyHelper->format(((@$price->price_value_with_tax)/12),$price->price_currency_id);

}

ido.

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #133878

Hi,

Instead of editing the file directly, you should edit the file "listing_price" of the view "product" via the menu Display>Views as a template override. That way, you won't loose your change when you update HikaShop.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum