Replacing URL in products

  • Posts: 152
  • Thank you received: 11
12 years 1 month ago #70085

Hey

When I in the backend at a product is inserting a url in the urlfield it will show it like the URL at the productsite.
How or where is it possible to replace this with e.g. "more..." ?


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 13201
  • Thank you received: 2322
12 years 1 month ago #70139

Hi,

You can edit the view "product / show_default" in HikaShop > Display > Views.
And replace the code:

			echo JText :: sprintf('MANUFACTURER_URL', '<a href="' . $this->element->product_url . '" target="_blank">' . $this->element->product_url . '</a>');

By:
			echo '<a href="' . $this->element->product_url . '" target="_blank">More info...</a>';

The following user(s) said Thank You: holm76

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

  • Posts: 152
  • Thank you received: 11
12 years 1 month ago #70212

thanks exactly what I was looking for :)


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

Time to create page: 0.070 seconds
Powered by Kunena Forum