Swap Columns in PDF Invoice
-
Hi, where or how I can swap order of columns in PDF invoice?
Currently there it’s product / quantity / price but I want quantity / product / price, and only this should be changed, also only in PDF.
I do some changes in code in my template:
move this
<th class="quantity"><?php _e('Quantity', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
before
<th class="product"><?php _e('Product', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
and below swap them as well
<td class="quantity"><?php echo $item['quantity']; ?></td>
before section with product.but this make mess slightly and change column orders in email templates, and I want change this only in PDF invoices.
- The topic ‘Swap Columns in PDF Invoice’ is closed to new replies.