Ramage Posted July 25, 2018 Share Posted July 25, 2018 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} Link to comment Share on other sites More sharing options...
Ramage Posted July 26, 2018 Author Share Posted July 26, 2018 I trying to add (wrong or good move?) Attachment::getAttachments($id_lang, $id_product); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now