Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter Medaillon4you

    (@medaillon4you)

    OKay, danke.. dann warte ich bis das eigenständige PayPal+ Plugin erscheint 😉

    schönes Wochenende!

    Thread Starter Medaillon4you

    (@medaillon4you)

    Is it not possible , or even to think about a solution , because, unfortunately, still no answer .

    MFG

    Thread Starter Medaillon4you

    (@medaillon4you)

    Good day,

    – That’s right, the Sofort.com is an extra plugin.
    – Cash on Delivery is from WordPress itself

    I think by the changes the PayPal Plus plugin the whole style, the possibility of entry of IBAN & BIC at Sofort.com disappears.

    This I found on the Internet at google images.
    Picture link here

    So I had it is also imagined integrirt PayPal Plus in such a frame.

    MFG
    Christoph

    me the option was not displayed.
    Have it but with this code set that it is visible for Germany and not rest.

    //  Disable gateway based on country
    function payment_gateway_disable_country( $available_gateways ) {
        global $woocommerce;
        $country = !empty($woocommerce->customer->get_shipping_country()) ? $woocommerce->customer->get_shipping_country() : $woocommerce->customer->get_country();
        if ( isset( $available_gateways['cod'] ) && $country <> 'DE' ) {
            unset(  $available_gateways['cod'] );
        }
        return $available_gateways;
    }
    add_filter( 'woocommerce_available_payment_gateways', 'payment_gateway_disable_country' );
    Thread Starter Medaillon4you

    (@medaillon4you)

    Bei dir wird auch auf der folge Seite nach dem “Place order” also auf der “***checkout/order-received/***” Seite die Liefer/Rechnungsanschrift nicht mehr angezeigt.

    selbe Fehler wie bei mir wenn man als Neukunde bestellt.

    Nur als Bestandskunde mit Account wird mir Rechnung/Lieferanschrift angezeigt.

    eine Idee wo dran das liegt? weil das feld “billing/shipping_address_1” ist ja ausgefüllt und wurde ja ordnungsgemäß übergeben ans backend.

    Thread Starter Medaillon4you

    (@medaillon4you)

    Problem tritt bei mir nur auf wenn man als unregistrierter kunde einkauft.

    mit eingeloggtem Account gibt es kein Problem.

    Thread Starter Medaillon4you

    (@medaillon4you)

    Da muss ich doch nochmal Stören 🙂

    wenn man einen Kauf abgeschlossen hat fehlt mit dem script bzw den zusätzlichen custom felder aufmal auf der Bestätigungsseite der letzte Part mit “KUNDENDETAILS” wo die e-mail tel und rechnungs, LIeferadresse angezeigt wird.

    wenn du das mit deinem shop testest, hast du das dann auch?

    Thread Starter Medaillon4you

    (@medaillon4you)

    verrückt, ich habe jetzt einfach nochmal von vorne angefangen… und siehe da, aufmal geht es o0.. manchmal muss man das nicht verstehen.

    Besten Dank für deine Hilfe !

    und für zukünftige Suchende die das Problem haben und diesen Beitrag gefunden haben.

    #billing_address_1 {display:none; }

    das in der style.css damit die ursprüngliche Eingabe ausgeblendet wird.

    Thread Starter Medaillon4you

    (@medaillon4you)

    Test seite:

    http://nolive.medaillon4you.de/checkout/

    auf dem ich das z.Z. Teste

    <script type='text/javascript' src='http://nolive.medaillon4you.de/wp-includes/js/jquery/jquery.js?ver=1.12.3'></script>

    wird geladen.

    Am ende der Seite wird das script mit eingebunden

    Thread Starter Medaillon4you

    (@medaillon4you)

    Habe die Variablen angepasst doch leider wird nix übergeben in “billing_address_1_field”

    <script>
    //fire copy function everytime a change happens to any of those fields
    jQuery("billing_street, billing_streetnumber").on('change', update_shipping_adress);
    
    // copies all values from all these fields to the shipping_adress_1 field
            function update_shipping_adress () {
            var strasse = jQuery("billing_street").val();
            var hausnummer = jQuery("billing_streetnumber").val();
            jQuery("billing_address_1_field").val(strasse +' '+ hausnummer);
    }
    </script>

    wodrann kann das jetzt noch liegen?

    oder alternativ währe mir die Idee gekommen ob man nicht in der functions.php einen snippet einfügen kann der sowas sag wie

    für “billing_address_1_field” nutze aus der mysql tabelle “billing_street” “lehrzeichen” “billing_streetnumber”

    das ist wieder zu einfach gedacht dann oder?

    Thread Starter Medaillon4you

    (@medaillon4you)

    Guten Tag nochmal 🙂

    Ich habe folgenden Code gefunden:

    <script>
    document.getElementById('billing_street').oninput = function (eve) {
        document.getElementById('billing_address_1_field').innerHTML = this.value;
    }
    </script>

    den wollte ich das einfach 2 mal benutzen also als 2te abfrage für das nächste Feld dann nochmal:

    <script>
    document.getElementById('billing_streetnumber').oninput = function (eve) {
        document.getElementById('billing_address_1_field').innerHTML = this.value;
    }
    </script>

    doch leider wird dann nur der text in “billing_address_1_field” angezeigt der als letztes in ein der beiden Eingabefelder (Straße oder Hausnummer) eingegeben wurde übermittelt.

    Thread Starter Medaillon4you

    (@medaillon4you)

    Hallo fitmealat,

    Die Idee hatte ich lustigerweise auch über Nacht beim schlafen.

    Doch leider hatte ich heute morgen noch nix gefunden wie ich diese Übergabe hin bekomme von custom Feld in adress_1

    An JavaScript hatte ich leider nicht gedachte, ich hatte ehe was im Sinn wie

    $bill_adress1 = $bill_str $bill_nr;
    $shipp_adress1 = $shipp_str $schipp_nr;

    So dass billing_adress_1 gefüllt wird mit bill_adress1. Aber das würde ja nur klappen wenn die Seite nochmal aufgerufen wird.

    Hast du da irgendwo zufällig ein snippet oder toturiel für die Übergabe in JavaScript?

    Mfg
    Christoph

    Thread Starter Medaillon4you

    (@medaillon4you)

    <h3><?php _e( 'Billing Address', 'woocommerce' ); ?></h3>
    </header>
    <address>
            <?php echo ( $address = $order->get_formatted_billing_address() ) ? $address : __( 'N/A', 'woocommerce' ); ?>
    </address>

    diesen Code habe ich schonmal finden können, doch leider finde ich nicht den aufbau.

    billing_title billing_first_name billing_last_name
    billing_address_1
    billing_address_2
    billing_postcode billing_city

    ändern zu

    billing_title billing_first_name billing_last_name
    billing_address_1 billing_address_2
    billing_postcode billing_city

    und für shipping_XXXX genau so ändern

    Thread Starter Medaillon4you

    (@medaillon4you)

    Guten Tag,

    Ich habe das Problem nun so lösen wollen das ich das Eingabefeld “billing_address_2” nutze für die Hausnummer.

    Soweit funktioniert es auch.

    Doch leider wird bei der Ausgabe z.B. bei der Checkout/order-received Seite und Rechnungen ein “< br >” eingefügt zwischen “billing_address_1” und “billing_address_2”

    In welcher Datei finde ich die Formatierung um den Zeilenumbruch entfernen zu können so das “billing_address_1” und “billing_address_2” nebeneinander und nicht untereinander stehen?

    MFG
    Christoph

    Thread Starter Medaillon4you

    (@medaillon4you)

    Schade, anscheind gibt es wohl keine Lösung 🙁

Viewing 15 replies - 1 through 15 (of 22 total)