Hey guys.
When a user searches for a product on our site and finds nothing they see whatever text is assigned to the text_empty variable in my language file.
For our website, this is "Cant' find what you're looking for? Contact us for a quote."
I want to make the Contact Us text a hyperlink to our contact page, and of course I've tried adding this to the string, but it doesn't make the text a hyperlink. It's just rendered as plain text in a box. It changes colour but doesn't act as a hyperlink.
Any ideas how to fix this?
In your language file, the text_empty variable should be like this:
Code: Select all
$_['text_empty'] = 'Can\'t find what you\'re looking for? <a href="index.php?route=information/contact">Contact us</a> for a quote.';
Hello and thanks for your reply. I have tried just that but the hyperlink, while clearly there - I can see it when I inspect the element - just isn't working. See for yourself:
http://www.wyedeanstores.com/
http://www.wyedeanstores.com/
Working for me.
Looks a very similar colour to the normal text though. You may want to change that in the CSS so that your links stand out more. Either change the colour, add an underline or both.
Looks a very similar colour to the normal text though. You may want to change that in the CSS so that your links stand out more. Either change the colour, add an underline or both.
Works for me in Firefox and Chrome.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: Mike Guenther and 231 guests