Hi i wanted to add an mp3 player at my products and found this method
Mp3 sample is unable to load
/* Xander Smalbil */
// var/.htacces
Order deny,allow
Deny from all
order allow,deny
allow from all
order allow,deny
allow from all
// description.tpl
{* $Id: description.tpl 11191 2010-11-11 11:56:01Z klerik $ *}
{** block-description:description **}
{if $attachments_data}
{foreach from=$attachments_data item="file"}
{if $file.filename|strstr:'.mp3'}
{literal}
{/literal}
{assign var=mp3location value="`$config.http_location`/var/attachments/product/`$_REQUEST.product_id`/`$file.filename`"}
{literal}
{/literal}
{/if}
{/foreach}
{/if}
{$product.full_description|default:$product.short_description|unescape}
and after replacing the old files and clearing the cache because i didn't see any changes this happened…