extra column with attributes
-
Good morning. I tried to add an extra column with the attributes of a product. My intention was to add the attributes below the product description but I failed and I had to add an extra column.
I’ve added …
<th class=”attribute”><?php _e(‘Note’, ‘woocommerce-pdf-invoices-packing-slips’ ); ?></th>
and ….
<td><?php if(!empty($item[‘product’])) $this->product_attribute(‘Gratuito’, $item[‘product’]); ?></td>
In doing so, the total is no longer aligned on the left but remains centered on the second and third columns.
1) Can you check if my code is correct?
2) How can I move the totals of a column?
3) And if instead I wanted to put the attributes under the description of each product?Thank you
Federico
The topic ‘extra column with attributes’ is closed to new replies.