How to add Zero Rated VAT Exemption to the invoice?
In order to display the VAT Exemption we can recommend to use WooCommerce EU VAT Number which is fully compatible with ours. The invoice will automatically show the VAT Exemption message.
In order to display the VAT Exemption we can recommend to use WooCommerce EU VAT Number which is fully compatible with ours. The invoice will automatically show the VAT Exemption message.
In order to add (custom) product attributes and product meta below the product description/title, add the below filter to your themes functions.php file. /** * Add product attributes to the product description. * * @param string $description Description. * @param int $item_id Item ID. * @param WC_Order_Item_Product $item Product. * * @return string */ function Read more about How to add custom product meta or product attributes below the product description?[…]
Use below filter function to add the product thumbnail image below the product description on the template. Add the code to your functions.php file within your theme. function add_product_image( $description, $item_id, $item ) { $product = $item->get_product(); if ( $product ) { $description = sprintf( ‘<table style=”border:none;padding:0;margin:0;”><tr><td width=”10%%” style=”border:none;padding:0;”><img src=”%s” width=”50″ height=”50″/></td><td width=”40%%” style=”border:none;padding:0;text-align:left;”>%s</td></tr></table>’, wp_get_attachment_url( Read more about How to add the product image to the template?[…]
In order to change the template based on specific user roles have a look at below filter code example. /** * Change template name based on user role. * Make sure to create custom templates with the correct names or the templates won’t be found. * * @param string $template_name template name. * @param string Read more about How to change the template based on user roles?[…]
If you are using product variations and you would only like to show the parent product SKU instead of the variation SKU’s, make sure to disable the setting “Show SKU as meta data” and add below filter to your themes functions.php file. /** * Add product attributes to the product description. * * @param string Read more about How to display the parent product SKU below the product description?[…]
In order to remove invoice information meta from the PDF invoice template, simply use below filter function as an example and add it to your themes functions.php file. /** * Remove Order Number and Order Date. * * @param array $info Invoice info meta. * @param BEWPI_Invoice $invoice Invoice object. * * @return array. * @since Read more about How to remove/hide invoice information meta?[…]
In order to add invoice information meta to the PDF invoice template, simply use below filter function as an example and add it to your themes functions.php file. /** * Add PDF invoice information meta. * * @param array $info Invoice info meta. * @param BEWPI_Invoice $invoice Invoice object. * * @return array. */ function add_invoice_information_meta( Read more about How to add invoice information meta?[…]
In order to add zero rated Tax/VAT for intra-community goods to your complete website use below filters. It will show the Tax/VAT on the cart and will permanently add it to the order and thus on the invoice. /** * Add zero rated tax when vat exempt for intra-community goods. * * @param array $tax_totals Read more about How to add zero rated Tax/VAT for intra-community goods?[…]
If you’re using plugin that captures extra data in your WooCommerce Order, chances are you’d like to use this in another area of your site too, for example to display it in our WooCommerce PDF Invoices plugin. It’s not always obvious where these custom fields are saved, under which field name or ‘meta key’ as Read more about Finding WooCommerce custom fields[…]
In order to change the invoice information meta from the PDF invoice template, simply use below filter function as an example and add it to your themes functions.php file. /** * Change PDF invoice information meta. * * @param array $info Invoice info meta. * @param BEWPI_Invoice $invoice Invoice object. * * @return array. */ function Read more about How to change the invoice information meta?[…]