labdav
Forum Replies Created
-
Founded. Thanks for the advice.
We have published a new update.
I’m sorry, but in our test we cannot reproduce this error.
Can you specify on what occasion it happens?Maybe the last error happens because of some options not are saved correctly.
txtVatExemptUE is in the first page of options of WooCommerce PDF Invoice Italian Add-onThe code of receipt.php must be the same of the corresponding invoice.php.
The last invoice.php template file must be used for the receipt also.maybe you are using a customized version of receipt.php ?
In this case you should copy the original corresponding invoice.php to receipt.php
try to deactivate and remove WooCommerce PDF Invoices Italian Add-on plugin and reinstall it.
Try to check the Document -> Receipt options of PDF Invoices & Packing Slips.
And also, try to specify a Logo for your invoices.
Non ho una soluzione.
It is better to save all required setting options first. These errors may be caused by this.
Non so se su GooglePay ci sia la possibilità di aggiungerli. In ogni caso, sarebbero poi da trasferire in qualche modo sull’ordine di WooCommerce.
Sì. Spesso i pagamenti alternativi a quelli previsti a completamento del checkout di WooCommerce impediscono la compilazione dei campi necessari alla compilazione della fattura. Per poterli usare è necessario che prima vengano compilati i campi obbligatori.
Problem solved with the new update. Thanks for the report
Usando Advanced Order Export For WooCommerce, anche nella versione free, è possibile aggiungere alle colonne di esportazione tutti i campi aggiuntivi (_billing_cf, _billing_PEC, _biliing_customer_type, _billing_invoice_type, …) associati all’ordine.
Poiché alcuni di questi campi (_billing_cf, _billing_PEC) assumono un significato diverso in funzione degli altri, è possibile creare dei campi calcolati che evidenziano più chiaramente il significato di quei campi.
In particolare aggiungendo questi hook nella sezione:
Misc settings > Custom PHP code to modify outputadd_filter('woe_get_order_value_billing_PEC_destinatario',
function ($value, $order,$fieldname) {
$value = $order->get_meta("_billing_PEC",true);
if(!preg_match("/[A-Z0-9]{6,7}/i", $value)) return $value;
return "";
},10,3);
add_filter('woe_get_order_value_billing_codice_destinatario',
function ($value, $order,$fieldname) {
$value = $order->get_meta("_billing_PEC",true);
if(preg_match("/[A-Z0-9]{6,7}/i", $value)) return $value;
return "";
},10,3);
add_filter('woe_get_order_value_billing_codice_fiscale',
function ($value, $order,$fieldname) {
$value = $order->get_meta("_billing_cf",true);
$customer_type = $order->get_meta("_billing_customer_type",true);
if($customer_type === "personal") return $value;
return "";
},10,3);
add_filter('woe_get_order_value_billing_partita_iva',
function ($value, $order,$fieldname) {
$value = $order->get_meta("_billing_cf",true);
$customer_type = $order->get_meta("_billing_customer_type",true);
if($customer_type === "business") return $value;
return "";
},10,3);si creano dei campi calcolati (billing_partita_iva, billing_codice_fiscale, billing_codice_destinatario e billing_PEC_destinatario) che è possibile aggiungere alle colonne del file Excel generato.
Forum: Plugins
In reply to: [WooCommerce PDF Invoices Italian Add-on] Linea codice prodotto non in lineaabbiamo pubblicato un aggiornamento che dovrebbe risolvere il problema.
Grazie della segnalazione
Non c’è un’opzione per preimpostare la scelta. Tantomeno per determinarlo in base al tipo di utente.
è comunque possibile aggiungere alla pagina di checkout uno script javascript che possa modificare questa opzione, che è dinamica. Per la seconda richiesta, andrebbe determinato, tramite javascript, il tipo di utente, e in base a quello selezionare il valore di default del campo _billing_invoice_type.