bennis.anas Posted February 9, 2015 Posted February 9, 2015 Hi all! I am adding a feature product on the invoice. I added that in invoice.tpl. the problem is that in OrderDetail.php there is no attributes features {if isset($order_detail.features) && $order_detail.features} <!-- product's features --> {foreach from=$order_detail.features item=feature} {if isset($feature.value)} <span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'} <br/> {/if} {/foreach} {/if} How can I add a among one of the characteristics on the invoice? Thanks in advance for any advice, this can not be that complex. Share this post Link to post Share on other sites More sharing options...
tuk66 Posted February 9, 2015 Posted February 9, 2015 You are right. Features are in products, not order details. You need to add them. Anyway, the next version of the M4 PDF Extensions module (2.1.5) will have that data (product_feature) and an example template as well (Invoices - product features). Share this post Link to post Share on other sites More sharing options...
bennis.anas Posted February 10, 2015 Posted February 10, 2015 Thanks, waiting for the next version hope another solution Share this post Link to post Share on other sites More sharing options...
tuk66 Posted February 10, 2015 Posted February 10, 2015 The upgrade is already available on request. Share this post Link to post 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