{{#if settings.icon}}
{{#xunless settings.link_on_icon 'none'}} {{/xunless}}
{{#xunless settings.link_on_icon 'none'}}
{{/xunless}}
{{/if}}
{{#if settings.file_title}} {{#if file.crop_title}} <{{settings.title_wrapper_tag}} class="wpfd-file-content--title">{{{file.crop_title}}} {{/if}} {{/if}} {{#if settings.file_description}} {{#if file.description}}

{{{file.description}}}

{{/if}} {{/if}} {{#if settings.file_information}} {{/if}}
{{#if settings.download_button}} {{#if file.show_add_to_cart}} Add to cart {{else}} {{#if settings.download_icon_active}} {{#xif settings.download_icon_position 'left'}} {{{svgicon settings.download_icon settings.download_icon_color settings.download_icon_size}}} {{/xif}} {{/if}} Download {{#if settings.download_icon_active}} {{#xif settings.download_icon_position 'right'}} {{{svgicon settings.download_icon settings.download_icon_color settings.download_icon_size}}} {{/xif}} {{/if}} {{/if}} {{/if}} {{#if settings.preview_button}} {{#if file.show_add_to_cart}} {{#if settings.preview_icon_active}} {{#xif settings.preview_icon_position 'left'}} {{{svgicon settings.preview_icon settings.preview_icon_color settings.preview_icon_size}}} {{/xif}} {{/if}} View product {{#if settings.preview_icon_active}} {{#xif settings.preview_icon_position 'right'}} {{{svgicon settings.preview_icon settings.preview_icon_color settings.preview_icon_size}}} {{/xif}} {{/if}} {{else}} {{#if file.openpdflink}} {{#if settings.preview_icon_active}} {{#xif settings.preview_icon_position 'left'}} {{{svgicon settings.preview_icon settings.preview_icon_color settings.preview_icon_size}}} {{/xif}} {{/if}} Preview {{#if settings.preview_icon_active}} {{#xif settings.preview_icon_position 'right'}} {{{svgicon settings.preview_icon settings.preview_icon_color settings.preview_icon_size}}} {{/xif}} {{/if}} {{else}} {{#if file.viewerlink}} {{#if settings.preview_icon_active}} {{#xif settings.preview_icon_position 'left'}} {{{svgicon settings.preview_icon settings.preview_icon_color settings.preview_icon_size}}} {{/xif}} {{/if}} Preview {{#if settings.preview_icon_active}} {{#xif settings.preview_icon_position 'right'}} {{{svgicon settings.preview_icon settings.preview_icon_color settings.preview_icon_size}}} {{/xif}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}}