{"id":12500540,"date":"2020-03-02T20:02:33","date_gmt":"2020-03-02T20:02:33","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-generated-pdf-for-specific-product\/"},"modified":"2020-03-02T20:02:33","modified_gmt":"2020-03-02T20:02:33","slug":"custom-generated-pdf-for-specific-product","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-generated-pdf-for-specific-product\/","title":{"rendered":"Custom generated PDF for specific product?"},"content":{"rendered":"<p>Hello there,<\/p>\n<p>I have already customised the PDF invoice file template, following your guides. I would like to know if it is possible to show an extra element (like a small text\/badge) as well only if a specific product is purchased, either using pro addons or via some PHP scripts.<\/p>\n<p>Thank you in advance<\/p>\n","protected":false},"template":"","class_list":["post-12500540","topic","type-topic","status-publish","hentry","topic-tag-custom-template","topic-tag-html","topic-tag-pdf","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12500540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12500540\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12500540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}