Bas Elbers
Forum Replies Created
-
Forum: Plugins
In reply to: [Invoices for WooCommerce] Show total quantity of products ordered on invoiceYou can have a look at the internal API docs from WooCommerce.
https://docs.woocommerce.com/wc-apidocs/source-class-WC_Order_Item_Product.html#251-259$total_quantity = 0; foreach ( $order->get_items() as $item ) { $total_quantity += (int) $item->get_quantity(); }Something like this should give you the total quantity of all ordered products. Not tested!
Check your permissions and enable debugging and try again. This should point out what is going on and how to resolve it.
Forum: Reviews
In reply to: [Invoices for WooCommerce] Great plugin!I really appreciate your feedback. If you have any feature requests or have found a bug of some sort just let me know. π
Forum: Plugins
In reply to: [Invoices for WooCommerce] Change styling of invoice numberAre you using the minimal template or the micro template?
You could print all the dynamically added classes into the pdf to show which CSS class you need to use.echo esc_attr( $info_id );Use this in minimal template within the loop. Let me know if it helps.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Automatic Create PDF invoiceMake sure to add the Completed order email to the WooCommerce > Invoices > General tab > Attach to Emails setting and it will be automatically generated and send to the customer. Let me know if the issue still persists so I will reopen this topic.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Tel links in pdfYou can have a look at below topic on how to add a clickable phone link.
https://stackoverflow.com/questions/17219688/href-tel-and-mobile-numbersForum: Plugins
In reply to: [Invoices for WooCommerce] Account detailsThe payment method will be displayed automatically on the minimal template.
You can use the settings in WooCommerce > Invoices > Template to add the bank transfer instructions. Is this what you are looking for?Forum: Plugins
In reply to: [Invoices for WooCommerce] Duplicate Invoice NumbersThe issue happens when you have a lot of post data in your database and have relatively slow server. We are aware of this issue and it will be fixed in the next update which will be released as soon as possible.
In the meantime this issue could be resolved by allocating more memory or by cleaning up your database by removing old data.
Also make sure to remove the emails from the Attach to Emails setting. This way no pdf invoice will be generated. Next up just generate the pdf invoice manually within the Edit Order page.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Display tax name instead of Β«VAT %sΒ»We are aware of this problem and we are working on a big update at the moment. The next update will use the WooCommerce Tax labels instead of the gettext translation from our plugin.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Rename/change name of generated PDFThank you for your feedback.
We have added the filter to the code and it will be added in the next release.Let me know if you have any other additions or questions. π
Forum: Plugins
In reply to: [Invoices for WooCommerce] How to add TemplatesHi Raoul,
The ww.wp.xz.cn forum shouldn’t be used for the premium plugin. If you are using our premium plugin, make sure to use the premium support.
Let me know if I should reopen this topic.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Invoice template company logoYou will need to create a custom template and change the height in style.css. Make sure to check the FAQ on how to create a custom template.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Preview Edits To TemplateWooCommerce > Invoices > Debug > Enable mpdf debug (setting).
You will be able to generate the pdf invoice from the Edit Order page.Let me know if this is what you are looking for.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Packing slipThe packing slip doesn’t get attached to the email by default. You could add it by using the filter
woocommerce_email_attachments, but you need some experience with coding.Forum: Plugins
In reply to: [Invoices for WooCommerce] invoice pdf templateThe latest version makes use of the WooCommerce settings fields you’ll find in WooCommerce > General tab. Let me know if this resolves your issue.