theaccentshop on "[Plugin: WooCommerce PDF Invoices & Packing Slips] Edit: Display attributes on invoice"

ساخت وبلاگ

theaccentshop
Member
Posted 1 hour ago #

I had this code working few updates ago. It displays product attribute called "manufacturer" on the invoice. Now, the invoice show up with white background and black text only. I think the code might be outdated. Any suggestions?

</dt><dt><?php $wpo_wcpdf->product_attribute('manufacturer', $item['product']); ?></dt>

https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/

Edit: The problem was due to the deletion of the product from my inventory. Causing the PDF invoice to display nothing but plain text. Is there a way to avoid this?

theaccentshop
Member
Posted 12 minutes ago #

Sorry, the custom code is:
<?php $wpo_wcpdf->product_attribute('manufacturer', $item['product']); ?>

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 321 تاريخ : دوشنبه 11 مرداد 1395 ساعت: 0:57