Change + to Add

  • Posts: 279
  • Thank you received: 1
11 years 10 months ago #129139

-- url of the page with the problem -- : digitalguarddog.com/dd_dev/automobiles-t...motive/pbs-i/product
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14

When you have characteristics which are an extra price, the extra is shown as + $xx.xx. I want to change it to show Add $xx.xx. What file do I need to edit?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #129179

Hi,

The solution will probably be to edit the option file of your product view of your front-end template through "Hikashop->Display->Views", and change this line (2 times) :

              $text.=' ( '.($positive?'+ ':'').strip_tags($this->loadTemplate()).' )';
By :
              $text.=' ( '.($positive?'Add ':'').strip_tags($this->loadTemplate()).' )';

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

  • Posts: 279
  • Thank you received: 1
11 years 10 months ago #129181

Great thanks.

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

  • Posts: 7
  • Thank you received: 0
10 years 9 months ago #180037

I'd like to change this function: $this->loadTemplate() of this line:
$text.=' ( '.($positive?'+ ':'').strip_tags($this->loadTemplate()).' )';
Where can I found it?

Thanks in advance

Last edit: 10 years 9 months ago by LifeCoci.

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

  • Posts: 193
  • Thank you received: 76
10 years 9 months ago #180040

Hikashop->Display->Views.
Search for file "option" .

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

Time to create page: 0.090 seconds
Powered by Kunena Forum