Hi @ash155,
Could you please send me the HTML output source of a PDF invoice with both bundle and composite products, to see if we can handle this through a code snippet? To do it, just add &output=html at the end of your invoice URL, then Right-click > Save as…, and save it as HTML. You can use https://filebin.net/ to upload the file and share the bin URL here.
Thread Starter
ash155
(@ash155)
Thanks for the reply – sorry for the duplicate post!
HTML output is here: https://we.tl/t-mEEruP7t2Q
Filebin isn’t working some reason but I have a wetransfer account.
I’ve created a packing slip (as these will be used more than invoices), which shows one example bundled product (Pick & Mix 142g Round Steamed Sponge 6 Pack) and one example composite (Easter Gift Pack with Personalised Card), with the products chosen listed under each.
Would be amazing to indent the composite sub-products in the same way as the bundled ones, but appreciate that it’s probably depenedent on the output generated by the two WPC plugins. If we can’t do that, happy to remove the indents.
Is it possible to make the ‘parent’ item (i.e. the bundle or composite product) bolder than the products contained in them? Just for a bit of visual differentiation?
Thanks in advance for any assistance!
Plugin Contributor
dwpriv
(@dwpriv)
@ash155
you use this CSS to remove the indentation
.order-details tr.bundled-item td.description {
padding-left: 0;
}
Thread Starter
ash155
(@ash155)
That’s great – thank you for your help 🙂