Default Value "Free" when no price is defined.

  • Posts: 79
  • Thank you received: 0
13 years 3 months ago #5398

Where would I find the file to modify the "Free" value that is shown as a price when the cell is left empty.

I can't find the file to modify. I'm giving away 1,000 a week,lol.

Thanks!

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
13 years 3 months ago #5399

It's in the configuration under the tab languages that you will be able to edit the translations in HikaShop:
www.hikashop.com/download/languages.html#modify

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

  • Posts: 79
  • Thank you received: 0
13 years 3 months ago #5400

Wow,I'm dumb lol.
Thanks!

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

  • Posts: 79
  • Thank you received: 0
13 years 3 months ago #5401

Is there a value that can be added to add a mail to:link?

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
13 years 3 months ago #5403

you can use HTML in the translation strings. Just make sure that you use simple quotes: MY_STRING="<a href='my_link'>my link</a>"

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

  • Posts: 79
  • Thank you received: 0
13 years 3 months ago #5406

Thank youit works perfectly,I had one other question.

Is there a query that is already published to include the individual product id with:
?subject= is it a default or can one add a string to the html in Languages to add the product id?

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
13 years 3 months ago #5410

you can add %s to the string in order to be replaced by a parameter.
Then, in the view where the string is used, you can add a parameter to it.
For the FREE_PRICE string, you can edit the file listing_price of the view product via the menu Display->Views.
There you can replace the line:
echo JText::_('FREE_PRICE');
by:
echo JText::sprintf('FREE_PRICE',$this->row->product_id);
and then, the %s in the translation string will be replaced by the product id.

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

  • Posts: 79
  • Thank you received: 0
13 years 3 months ago #5422

Thank you, that's awesome!!!! Triple Kudo's

Buying the full version. Best cart I can find!

Last edit: 13 years 3 months ago by JWeb5. Reason: added :Buying the full version. Best cart I can find!

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

Time to create page: 0.068 seconds
Powered by Kunena Forum