The costumer has prefilled his Apple Pay address with correct details.
during checkout the uses this prefilled details.
but receipt address contains the housenumber, delivery address does not.
we’ve checked with customer if housenumber is given. Somehow at the delivery-address the housenumber is lost or cut.
we have custom-code that prevents entering the street field without a number, so the data must be taken from Apple Pay during checkout
]]>add_filter( 'woocommerce_order_formatted_billing_address' , 'th56t_woo_custom_order_formatted_billing_address', 10, 2 );
function th56t_woo_custom_order_formatted_billing_address( $address, $WC_Order ) {
$address['billing_nobility'] = get_post_meta( $WC_Order->get_id(), 'billing_nobility', true );
return $address;
}
add_filter( 'woocommerce_formatted_address_replacements', function( $replacements, $args ){
$replacements['{billing_nobility}'] = isset($args['billing_nobility']) ? $args['billing_nobility'] : (WC()->checkout->get_posted_address_data( "nobility", "billing" ) ? WC()->checkout->get_posted_address_data( "nobility", "billing" ) : '');
return $replacements;
}, 10, 2 );
add_filter( 'woocommerce_localisation_address_formats' , 'woo_includes_address_formats', 10, 1);
function woo_includes_address_formats($address_formats) {
$address_formats['default'] = "{billing_nobility}\n{first_name} {last_name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}";
$address_formats['DE'] = "{billing_nobility}\n{first_name} {last_name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}"; // Address format for Germany
return $address_formats;
}
Allerdings hat das bisher keine Auswirkung auf den Namen in der PDF-Rechnung von Germanized.
Wie bekomme ich den Titel als Teil des Namens in die Rechnungsadresse im PDF?
Vielen Dank!
I have an issue with transferring customer billing addresses to their subscriber profile in Mailchimp.
As Mailchimp is very picky about data that enters the address type field I force customers to enter a Region / State during checkout. Otherwise, their address will not be transferred to their data in Mailchimp at all.
The problem I’m facing now is the following:
Regardless of what country I’m entering during a test purchase in the address field of the new customer it says GERMANY in the subscriber data in Mailchimp.
In WooCommerce however the billing_country of the customer is correct.
The code in my functions.php looks like this now:`
//WooCommerce Checkout Fields
add_filter( ‘woocommerce_states’, ‘xa_filter_woocommerce_states’, 10, 1 );
function xa_filter_woocommerce_get_country_locale( $locale ) {
$locale[‘state’][‘required’] = true;
return $locale;
};
add_filter( ‘woocommerce_get_country_locale’, ‘xa_filter_woocommerce_get_country_locale’, 10, 1 );
add_filter(‘woocommerce_checkout_fields’, ‘custom_override_checkout_fields’);
function custom_override_checkout_fields($fields)
{
$fields[‘billing’][‘billing_country’][‘label’] = ‘Land’;
$fields[‘billing’][‘billing_state’][‘label’] = ‘Bundesland’;
return $fields;
}
seit einiger Zeit fehlt bei Warenpost International Tracked der Name und Vorname, aber nur dann, wenn eine Firma mit angegeben wurde. Stattdessen erscheint hinter der Firma ein Komma “,”. Nun schreibe ich es immer von Hand dazu und hatte gehofft, mit dem n?chsten Update wird es repariert, aber scheinbar ist das Problem noch nicht kommuniziert worden.
übrigens danke für euren guten Einsatz!
Herzliche Grü?e
Chriss
moderne, léger, souple et très simple d’utilisation.
Le support est excellent, l’équipe a pris en main les deux problèmes rencontrés avec un professionnalisme et un savoir faire exemplaires.
Nous recommandons fortement cette extension à tous ceux qui souhaitent mettre en place un carnet d’adresse ou un répertoire téléphonique d’entreprise ou tout autre type de liste ordonnée nécessitant un filtrage à la volée lors de la frappe.
merci @era404 !
]]>Kann man bei PayPal PLUS irgendwo einstellen, das es auch ohne Adresse etc. funktioniert?
MfG
Steven
]]>wenn man bei der Absenderadresse zum Beispiel 33F abspeichern m?chte, entfernt die Einstellung automatisch nach dem abspeichern denn Buchstaben F. Somit steht am ende nur 33.
Grü?e
XOOSE
]]>J’aimerais savoir si il y a un filtre ou une fonction permettant de rechercher / lister les colis en fonction d’une saisie de ville + code postal.
Actuellement, aucune actualisation de la carte se fait lors du changement d’adresse dans la partie “adresse de livraison”. J’aimerais mettre ?a en oeuvre mais je ne trouve aucun hook permettant d’interroger sur la liste des relais colis dans le code :-/
]]>