Jump to content

Product Attachment


Mayball

Recommended Posts

Hello,

 

Does anyone know how to add additional descriptions in front office within product attachment tab?

 

Once I added attachments within product, only the downloadable file name appears under attachment in the front office. If I also want to add a few lines of descriptions above and below the attachment file, how can I do that?

Thanks a lot,

Mayball

Link to comment
Share on other sites

It might just be that the theme doesn't support the description, check that it looks like this in the product.tpl, at about line 535 (default template, might be different in yours)

 

 

 

{if isset($attachments) && $attachments}
 <ul id="idTab9" class="bullet">
 {foreach from=$attachments item=attachment}
  <li><a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")}">{$attachment.name|escape:'htmlall':'UTF-8'}</a><br />{$attachment.description|escape:'htmlall':'UTF-8'}</li>
 {/foreach}
 </ul>
{/if}

 

See that{$attachment.description|escape:'htmlall':'UTF-8'} ? That's what troubles you :)</div>

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...