caredesign
Forum Replies Created
-
Hello Gilbert,
Sadly the code didn’t change anything. ??
I am using Outlook 365
Sorry Gilbert, but in the admin looks everything great but when i get the email it is still not nice.
Even the text size doesn’t change as i tried to make it smaller but it change only the text above and not the text wirh the items.
You think there is any chance to check it again.
Hi Gilbert,
Thanks für your help. It works perfectly!
Have a great day.
Regards Ivo
Thanks. But now it ist wrong. The Thumbnail is now on the right side.
I made you a picture how i wish it
That cell have to be vertical -align middle…
Thanks for your help.
Hi Gilbert
Thanks for your help.
It is already better, but it is on top of the column. If it could be in the middle of the line would be perfect. So like that would be in the same line like the quantity and the price.
Thanks for your help.
Regards Ivo
Hi Yordan,
Thanks for your help and especially for your patience. It works now! That CSS rule solved my problem.
Have a good day.
Regards Ivo
The Problem is that the licence of the plugin “WooCommerce PDF Invoices & Packing Slips Premium Templates” is expired, so if i update the plugin “PDF Invoices & Packing Slips for WooCommerce” i get a fatal error.
Hi Yordan
I have the Version 3.5.6.
add_action( ‘wpo_wcpdf_custom_styles’, function( $document_type, $document ) {
?>
.wc-item-meta {
display:none;
}
<?php
}, 10, 2 );I did this one now……. but still causing the problem.
I found this, maybe helps….. This shows when i have the white page instead of the PDF invoice
<style type="text/css"> <div style="border: 2px solid red; padding: 5px;"> <h3>Fatal error: Too few arguments to function {closure}(), 1 passed in /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected</h3> <pre>/var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code (1)</pre> <pre>#0 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(324): {closure}() #1 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/themes/Avada-Child-Theme/woocommerce/pdf/YCN-Business/html-document-wrapper.php(33): do_action() #4 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(990): include('...') #5 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(928): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template() #6 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(894): WPO\WC\PDF_Invoices\Documents\Order_Document->wrap_html_content() #7 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(845): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html() #8 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(911): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() #9 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(423): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf() #10 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax() #11 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-admin/admin-ajax.php(188): do_action() #14 {main}</pre> </div>
yes of course
Of course. :-)….As without the code the invoice will be created, as soon as i activate the snippet the invoice will be not created.
In the Plugin Code Snippets
Thanks….i placed it in the snippet but the page generating the pdf invoice stays blank.
Hi @yordansoares,
I use the custom field with the customizer.
The Notes field i have in the admin where i edit the orders and then create the pdf invoice.
Thats how it shows on the PDF Invoice.
If i add the <br> in the text, it will show correct on the invoice. But it’s not good for the client to write like that ??
In the ACF Plugin i configured the field correct. So it will add the <br>automatic.
Thanks for your help.
Regards Ivo @caredesign
Thank you, but this didn’t help.
In the Admin Order i wish to see the Attributes, Thats how it is
Inspektionsdeckel aus Kunststoff 205 mm – Schwarz
Artikelnummer:?17.291
ID der Variante:?9528
Farben:
SchwarzBut on the PDF Invoice i dont want the attributes show after the name.
Inspektionsdeckel aus Kunststoff 205 mm – Schwarz
Farben:
SchwarzThanks for the help