Skip to main content

[solved] Make a link from the Free Price text

More
10 years 7 months ago - 10 years 7 months ago #230951 by nico.van.leeuwen
-- 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 :
Code:
<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: 10 years 7 months ago by nico.van.leeuwen.

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

More
10 years 7 months ago #231036 by nicolas
Hi,

It's not a problem. Just use a translation override:
FREE_PRICE="<a href=' www.site.nl/ ' target='_blank'> "

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

More
10 years 7 months ago #231082 by nico.van.leeuwen
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.208 seconds
Powered by Kunena Forum