[solved] Make a link from the Free Price text

  • Posts: 307
  • Thank you received: 22
9 years 6 months ago #230951

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6

Hi,

In our webshop prices are only shown to logged in customers.
What I would like to do is replace the "Free Price" text string with a html link.

So instead of "Call us for a price" show them a link to a different webshop.
The link I wanted to use is this :

<a href="https://www.site.nl/" target="_blank"><i class="fa fa-fw fa-info-circle fa-2x blauwtje"> </i></a>
Are there options in the translation file or should I change something in the cart code?
Or maybe somebody has another great tip?
Thanks

Last edit: 9 years 6 months ago by nico.van.leeuwen.

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 6 months ago #231036

Hi,

It's not a problem. Just use a translation override:
FREE_PRICE="<a href=' www.site.nl/ ' target='_blank'><i class='fa fa-fw fa-info-circle fa-2x blauwtje'> </i></a>"

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

  • Posts: 307
  • Thank you received: 22
9 years 6 months ago #231082

Thank You, it's the single quotes that I did not take into account !

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

Time to create page: 0.040 seconds
Powered by Kunena Forum