Jump to content

Attachment for product in order product list


Ramage

Recommended Posts

Hello

I need to add attachment (link to download directly) from product edit tab in order product list. This is not an attachment that customers add. I add printscreen to topic.

I edit: https://mydomain.com/adminxxxyyy/themes/default/template/controllers/orders/_product_line.tpl (42 line) after product name, but not working :(

		 {if ($product.product_attachments) && $product.attachments->id}
		 <a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html':'UTF-8'}">zalacznik</a>
		 {/if}

 

attachment2.jpg

order.jpg

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...