[ad_1]
Hi,
I want to include in the PDF, the amount of the product excluding VAT as well as the amount of VAT for this product
For instance :
//Price of the product exclude VAT
<td class="product-price-exclude-vat" data-title="<?php esc_attr_e( 'Prix HT', 'wc-cart-pdf' ); ?>">
<?php
echo esc_html( $_product->get_price_excluding_tax() );
?>
</td>//Amount of the product’s VAT
<td class="product-vat" data-title="<?php esc_attr_e( 'Prix HT', 'wc-cart-pdf' ); ?>">
<?php
echo esc_html( $_product->get_tax() );
?>
</td>Do you have an example for this improvement?
Thank you 🙂
- This topic was modified 2 hours, 32 minutes ago by .
