Jump to content

Category photo in products


Guest petrangr

Recommended Posts

Guest petrangr

Hi all,

I want to display the category photo on the product that belongs to that category.

I am using:

<!-- BEGIN: cat_img -->

<img src="{IMG_CURENT_CATEGORY}" alt="{TXT_CURENT_CATEGORY}" border="0" title="{TXT_CURENT_CATEGORY}" />

<!-- END: cat_img -->

in the ViewCat.tpl but nothing is showing.

Anyone has a clue?

Thanks.

Link to comment
Share on other sites

  • 1 year later...
Guest diazangulo

yes, i can add the category photo in the admin panel, but the picture only show in category page , i need to show it in product page too, do you have some clue?

Thanks and very good day.

Link to comment
Share on other sites

This is the code you want:

<!-- BEGIN: cat_img -->

<img src="{IMG_CURENT_CATEGORY}" alt="{TXT_CURENT_CATEGORY}" border="0" title="{TXT_CURENT_CATEGORY}" />

<!-- END: cat_img -->

You need to stick it in your content/ viewprod.tpl file, wherever you want it to show on page.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...