jr75
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Generate manually the invoicesI found it finally!
$invoice = wcpdf_get_document( ‘invoice’, $order, true );
$pdf_data = $invoice->get_pdf();after i just have to create a file and put the pdf in it.
Thanks for the time !Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Generate manually the invoicesOk thank you. So the pdf is only generated when the email is sent.
So is this possible to send manually the email in php? (thoses orders are created from another software, so no emails are sent)Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Generate manually the invoicesHello,
Thanks for the quick answer, yes i found it already but it generates me the invoice number only and no trace whatsoever of the pdf file itself (i search everywhere in the worpdress).
It seems it is generated only when a mail is sent to the customer.
I tried this :
$order = wc_get_order( $order_id );
$invoice = wcpdf_get_document( ‘invoice’, $order, true );And before i was using this to generate the number:
wcpdf_get_invoice( $order_id, true );Any idea how to mannually generate the pdf ? I have no error in the log also
Hello,
i Had the last one, but don’t worry i found how to do it in JS. Thx !
Hello,
We already have the Variation Swatches plugin but it slows to much the product listing:
if i activate it, the product listing on the website take roughtly +10-15sec of loading.
That’s why we decided to work without it (too bad, he had all the functionnalities needed – i can provide you the license key if needed)So I recoded most of the function and its working. Except for changing the additionnal images of each variation which are using the method of yor plugin.