• Resolved shadrix

    (@shadrix)


    Seit Germanized 3.16.0 wurde einiges ge?ndert, wenn es um die Abholung über Packstation etc geht.

    Ich kann leider seit dieser Version nicht mehr updaten, weil bei CheckoutWC nicht mehr ganz funktioniert.

    Eigentlich funktioniert alles, nur wenn der Kunde auf

    Nicht zu Hause? W?hle eine Abholstation aus

    klickt, dann, kann ich leider nicht Abholstation nicht ausw?hlen. Es passiert einfach nichts. JavaScript greift da anscheinend nicht ein.

    In der Console gibt es einige Meldungen:

    CheckoutWC: Unable to replace element ??
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 Objectkey: ".gzd-shipments-pickup-locations"value: "{\"898\":{\"code\":\"898\",\"type\":\"postofficePrototype: Object
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 CheckoutWC: Error: Syntax error, unrecognized expression: {"898":{"code":"898","type":"postoffice","label":"Postfiliale 898","latitude":52.503544,"longitude":13.347135,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Tabak-Zeitschriften-Lotto","country":"DE","postcode":"10787","address_1":"Kurf\u00fcrstenstr. 114","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 898","country":"DE","postcode":"10787","city":"Berlin"},"formatted_address":"Tabak-Zeitschriften-Lotto, Kurf\u00fcrstenstr. 114, 10787 Berlin"},"447":{"code":"447","type":"servicepoint","label":"Postfiliale 447","latitude":52.502919,"longitude":13.337231,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Lottoladen Talebi","country":"DE","postcode":"10789","address_1":"Marburger Str. 16","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 447","country":"DE","postcode":"10789","city":"Berlin"},"formatted_address":"Lottoladen Talebi, Marburger Str. 16, 10789 Berlin"},"129":{"code":"129","type":"locker","label":"Packstation 129","latitude":52.507488,"longitude":13.33319,"supports_customer_number":true,"customer_number_is_mandatory":true,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Packstation 129","country":"DE","postcode":"10623","address_1":"Hardenbergplatz 9-15","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Packstation 129","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"Packstation 129, Hardenbergplatz 9-15, 10623 Berlin"},"574":{"code":"574","type":"postoffice","label":"Postfiliale 574","latitude":52.506983,"longitude":13.332991,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"P & B Press & Books","country":"DE","postcode":"10623","address_1":"Hardenbergplatz 11","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 574","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"P & B Press & Books, Hardenbergplatz 11, 10623 Berlin"},"176":{"code":"176","type":"locker","label":"Packstation 176","latitude":52.508135,"longitude":13.332982,"supports_customer_number":true,"customer_number_is_mandatory":true,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Packstation 176","country":"DE","postcode":"10623","address_1":"Hardenbergplatz 9-15","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Packstation 176","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"Packstation 176, Hardenbergplatz 9-15, 10623 Berlin"},"566":{"code":"566","type":"servicepoint","label":"Postfiliale 566","latitude":52.50131,"longitude":13.337191,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Kiosk N-23","country":"DE","postcode":"10789","address_1":"N\u00fcrnberger Str. 23","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 566","country":"DE","postcode":"10789","city":"Berlin"},"formatted_address":"Kiosk N-23, N\u00fcrnberger Str. 23, 10789 Berlin"},"862":{"code":"862","type":"postoffice","label":"Postfiliale 862","latitude":52.500409,"longitude":13.337475,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Kiosk\/Lotto\/Post","country":"DE","postcode":"10789","address_1":"W\u00fcrzburger Str. 2","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 862","country":"DE","postcode":"10789","city":"Berlin"},"formatted_address":"Kiosk\/Lotto\/Post, W\u00fcrzbu
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 CheckoutWC: Unable to replace element ??
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 Object
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 CheckoutWC: TypeError: Cannot read properties of undefined (reading 'createDocumentFragment') ??

    Gibt es irgendwie eine M?glichkeit, damit es auch mit CheckoutWC klappt?

    Ich habe mir auch einen Staging Server erstellt und nur CheckoutWC+Germanized benutzt, aber leider klappt es nicht. Ich kann auch gern mit CheckoutWC reden. Ich br?uchte das dringend und würde auch sonst zahlen.

    Danke

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi,

    das Problem ist, dass das CheckoutWC Plugin offenbar nicht alle Felder aus dem Woo Checkout übertr?gt, u.a. (standardm??ig) nicht die Bestellnotizen/Anmerkungen. Germanized registriert das Feld für die aktuell ausgew?hlte Abholstation über woocommerce_checkout_fields im Bereich order (dazu z?hlen auch die Bestellanmerkungen). Vermutlich klappt es, wenn du in den CheckoutWC Einstellungen die Anzeige der Bestellanmerkungen aktivierst..

    Grü?e

    Thread Starter shadrix

    (@shadrix)

    Hey, ich kam jetzt erst dazu daran zu arbeiten.

    Leider klappt es nicht. Ich habe die aktuelle Version von Germanized installiert (Version 3.17.1).

    Ich habe wie due es gesagt hast, die Anzeige der Bestellanmerkung aktiviert mit den Einnstellungen von CheckoutWC: ?Enable Order Notes Field (Enable or disable WooCommerce Order Notes field. (Default: Disabled))

    Ich kriege aktuell diese Fehlermeldung:

    CheckoutWC: Unable to replace element ??
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 {key: '.gzd-shipments-pickup-locations', value: '{"574":{"code":"574","type":"postoffice","label":"…ostfiliale 577, Prager Platz 1-3, 10779 Berlin"}}'}key: ".gzd-shipments-pickup-locations"value: "{\"574\":{\"code\":\"574\",\"type\":\"postoffice\[[Prototype]]: Object
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 CheckoutWC: Error: Syntax error, unrecognized expression: {"574":{"code":"574","type":"postoffice","label":"Postfiliale 574","latitude":52.506983,"longitude":13.332991,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"P & B Press & Books","country":"DE","postcode":"10623","address_1":"Hardenbergplatz 11","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 574","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"P & B Press & Books, Hardenbergplatz 11, 10623 Berlin"},"129":{"code":"129","type":"locker","label":"Packstation 129","latitude":52.507488,"longitude":13.33319,"supports_customer_number":true,"customer_number_is_mandatory":true,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Packstation 129","country":"DE","postcode":"10623","address_1":"Hardenbergplatz 9-15","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Packstation 129","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"Packstation 129, Hardenbergplatz 9-15, 10623 Berlin"},"176":{"code":"176","type":"locker","label":"Packstation 176","latitude":52.508135,"longitude":13.332982,"supports_customer_number":true,"customer_number_is_mandatory":true,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Packstation 176","country":"DE","postcode":"10623","address_1":"Hardenbergplatz 9-15","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Packstation 176","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"Packstation 176, Hardenbergplatz 9-15, 10623 Berlin"},"522":{"code":"522","type":"postbank","label":"Postfiliale 522","latitude":52.505008,"longitude":13.331767,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Postbank Filiale","country":"DE","postcode":"10623","address_1":"Joachimsthaler Str. 41","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 522","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"Postbank Filiale, Joachimsthaler Str. 41, 10623 Berlin"},"523":{"code":"523","type":"postoffice","label":"Postfiliale 523","latitude":52.504026,"longitude":13.325386,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"The Kiosk Berlin","country":"DE","postcode":"10623","address_1":"Uhlandstr. 20-25","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 523","country":"DE","postcode":"10623","city":"Berlin"},"formatted_address":"The Kiosk Berlin, Uhlandstr. 20-25, 10623 Berlin"},"448":{"code":"448","type":"servicepoint","label":"Postfiliale 448","latitude":52.501956,"longitude":13.330834,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Sp\u00e4tkauf G\u00fcm\u00fcs","country":"DE","postcode":"10719","address_1":"Joachimsthaler Str. 15","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 448","country":"DE","postcode":"10719","city":"Berlin"},"formatted_address":"Sp\u00e4tkauf G\u00fcm\u00fcs, Joachimsthaler Str. 15, 10719 Berlin"},"447":{"code":"447","type":"servicepoint","label":"Postfiliale 447","latitude":52.502919,"longitude":13.337231,"supports_customer_number":true,"customer_number_is_mandatory":false,"customer_number_field_label":"DHL Kundennummer (Postnummer)","address":{"0":"address_1","1":"city","2":"postcode","3":"country","company":"Lottoladen Talebi","country":"DE","postcode":"10789","address_1":"Marburger Str. 16","city":"Berlin"},"address_replacement_map":{"address_1":"label","country":"country","postcode":"postcode","city":"city"},"address_replacements":{"address_1":"Postfiliale 447","country":"DE","postcode":"10789","city":"Berlin"},"formatted_address":"Lottoladen Talebi, Marburg
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 CheckoutWC: Unable to replace element ??
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1 {key: '.gzd-shipments-pickup-location-supported', value: true}
    default-checkout-order-pay-thank-you.js?ver=b3ccb5bf8bbe5598e09da5e9ab5b4dd2:1

    Hast du sonst eine Idee was ich machen kann?
    Ich kann halt nicht weg von CheckoutWC, weil es das einzige Plugin ist, was den Checkout von Shopify nahe kommt.

    Plugin Author vendidero

    (@vendidero)

    Hi,

    hm, ich wei? nicht inwiefern diese JS-Fehler wirklich Einfluss auf die Logik haben aber im Zweifel müsstest du das bitte an die Entwickler von CheckoutWC reporten. Da scheint das Plugin mit custom attributes im DOM nicht klarzukommen. Ich konnte das ja nur mit der CheckoutWC Lite Version testen und dort klappt das Einbetten der Abholstation:

    https://ibb.co/0B8GXNC

    Ich kann halt nicht weg von CheckoutWC, weil es das einzige Plugin ist, was den Checkout von Shopify nahe kommt.

    Dann solltest du dir mal die mehrstufige Kasse in Germanized Pro für den neuen block based Checkout von Woo ansehen ?? S.a.: https://vendidero.de/germanized-pro-3-10#mehrstufige-kasse

    Grü?e

    Thread Starter shadrix

    (@shadrix)

    Danke für die schnelle Antwort und danke, dass du die CheckoutWC Lite Version getestet hast. K?nnte du mir noch den Gefallen tun und schauen, wie das aussieht, wenn du auf “Choose a pickup location” klickst? Und dann wirklich etwas ausw?hlst.

    Weil als ich diesen ersten Post geschrieben habe, ist nichts passiert als ich beim Popup eine Abholstation ausgew?hlt habe. Jetzt auf den aktuellen Stand passiert da was juhu. Aber es sieht gerade so bei mir aus:
    https://snipboard.io/qW9Vhn.jpg

    Das da das CSS verschoben ist, ist mir egal. Das kann ich fixen. Was nur fehlt, dass die Adresse nicht hinzugefügt wird. Hast du da ne Ahnung woran es liegt? Ich sehe gerade, dass die Fehlermeldung von meinem letzten Post kommt, wenn ich eine neue Aholstation ausw?hle. Dann wie du es vermutlich meinst, kommt CheckoutWC dann damit nicht klar und kann die Adresse nicht hinzufügen.

    K?nntest du bitte bei der Lite Version schauen ob das klappt? sonst probiere ich das auch mal auf nen freshen server

    p.s. danke, ich hab euren checkout in der pro version jetzt im hinterkopf

    • This reply was modified 4 months ago by shadrix.
    Plugin Author vendidero

    (@vendidero)

    Hi,

    bei meinen Tests wird die Adresse korrekt übernommen:

    https://ibb.co/Ltpdbpp

    Grü?e

    Thread Starter shadrix

    (@shadrix)

    Danke für die Antwort.

    ich habe mir dein Bild angesehen und mir ist der Unterschied zu meinem CheckoutWC aufgefallen, ich habe die Einstellung ge?ndert, dass die Stra?e und Hausnummer in einem getrennten Input angezeigt werden.
    Es klappt daher erst nur, wenn ich die Einstellung deaktiviere und die Stra?e mit der Hausnummer in einem Input angezeigt werden (so wie man das in deinem Bild sehen kann).

    Ich versuch mal CheckoutWC anzuschreiben, aber ich denke einfach mal, dass Germanized nicht kompatibel damit ist. Doof ????

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.