Jump to content
Sign in to follow this  
Janett

Listing insert a linkon product name

Recommended Posts

Hello,

 

I would insert a link on the products name inside the different page do you know how to ?

Thank you ?

Share this post


Link to post
Share on other sites

Hello @Janett,

 

it's simple

 

fist call the HTML class and second create the link

The result is :

 

use ClicShopping\OM\HTML;

replace this :
$products_name

by  :

HTML::link($products_name_url, $products_name)

You have just to edit the others listing template and copy paste the code.

 

Edited by Patrick
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use