Jump to content

Display custom field in front end


Recommended Posts

Hi,

 

I created some custom fields for my products. By default, they are shown in a table (Data Sheet) under my product. 

But I need one field, lets call it xyUrl.

 

xyUrl contains, for example, google.com/product123. Now I need this Url to display it in the frontend. But how? The custom field are fetched with an foreach loop.. (into the Data Sheet)

 

Maybe {$product->how-to-call-the-custom-field} .. ?

 

(Prestashop 1.6)

Edited by dima78 (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

Posting hundreds of messages will not help.

Your query is not clear enough. Are you trying to add a link trough Features functionality? if that's the case I cannot see any problems why it is not shown on your product page.

If you want to make this link active, you would probably need to modify that foreach and add an if sentence which checks whether this is a feature with hardcoded ID and if yes, then show a links instead of simple value.

Link to comment
Share on other sites

×
×
  • Create New...