676
edits
mNo edit summary Tag: 2017 source edit |
m (Add Third party Extra) Tag: 2017 source edit |
||
| Line 176: | Line 176: | ||
<source lang="php">$outputlangs->convToOutputCharset($product->array_options['options_my_product_extra'])</source> | <source lang="php">$outputlangs->convToOutputCharset($product->array_options['options_my_product_extra'])</source> | ||
=Special Case for Third party extrafields= | |||
If you have defined a Third party complementary attribute, the attribute is automatically loaded on the object, you can directly use it | |||
===Display Third party Extrafield=== | |||
<source lang="php"> | |||
$pdf->writeHTMLCell (190,3, $this->posxdesc-1, $tab_top-5, $outputlangs->convToOutputCharset($object->thirdparty->array_options['options_my_third_party_extra']),0,1); | |||
</source> | |||
edits