Product url into image button

  • Posts: 23
  • Thank you received: 0
13 years 10 months ago #5226

Hi Nicolas
I hope you're doing well :)

Would let me know please how do I change the

".hikashop_product_url_main" link into a image button?

Many Thank again my friend

Kind Regards

Charles

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5229

You can edit the file show of the view product via the menu Display->Views.

There you can replace the code:

			if(!empty($this->element->product_url)){
				echo JText::sprintf('MANUFACTURER_URL','<a href="'.$this->element->product_url.'" target="_blank">'.$this->element->product_url.'</a>');
			}
by
			if(!empty($this->element->product_url)){
				echo JText::sprintf('MANUFACTURER_URL','<a href="'.$this->element->product_url.'" target="_blank"><img src="YOUR_IMAGE_URL" /></a>');
			}

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

Time to create page: 0.051 seconds
Powered by Kunena Forum