• Since 3.3.1 if you keep getting “Please select drop-off location” :
    First : disable auto update
    Then edit packlink-pro-shipping\resources\js\packlink-checkout.js

    and replace [1] by [0] at lines :

    function setHiddenFields(location) {
    let dropOffId = document.getElementsByName( 'packlink_drop_off_id' )[1];
    let dropOffExtra = document.getElementsByName( 'packlink_drop_off_extra' )[1];

    Someone forgot array start at 0 , not 1 ….

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi,

    I applied your fix but still have this error notification. No way to finalize the checkout process as the drop-off location is not taken in account after its selection. So we are in a endless loop.

    @packlink team: Hope you will fix this very soon!

    Hello,

    I have the exact same issue since 2 days.

    Can Someone, take this issue seriously ?

    Our client can not have any order with ” Mondial relay ” or ” Ups Relay ” .
    Thanks

    Thread Starter tibrus78

    (@tibrus78)

    You can also revert to the old version …

    Try to replace the new version line by the old one :

    let dropOffId    = document.querySelector( 'input[name="packlink_drop_off_id"]' );
        let dropOffExtra = document.querySelector( 'input[name="packlink_drop_off_extra"]' );

    I did a full rollback because i had the code on my comp so i could go back to 3.3.0 ( wich i had modified to get full french translation ^^ )

    Hello, can you tell me the location please ?

    Thread Starter tibrus78

    (@tibrus78)

    on your wordpress directory : /wp-content/plugins/packlink-pro-shipping/resources/js/packlink-checkout.js

    Thank you, for me, it was not working. ??

    Thread Starter tibrus78

    (@tibrus78)

    OK, this zip contain the 3.3.0 plugin, if this not working, well i dont know, this one worked for me ;p

    https://keha.fr/wp-content/uploads/2023/10/packlink-pro-shipping.zip

    To install, for disable auto update of the packlink plugin, rename the packlink folder with _old extension for exemple ( on the folder /wp-content/plugin) , then dezip on your /wp-content/plugins folder .

    You should see on the wordpress plugin screen the _old and the 3.3.0 plugin. Activate the 3.3.0, and if it’s work, delete the old one.

    Hi,

    Packlink published a plugin update with this bug fix. I just tested it and it works now.

    @tibrus78 , thank you for your patches solutions.

    Iker

    (@iurte)

    Hi,

    I’ve the version 3.3.3 installed and the “Drop off” message is still appearing with the address filled up. Is this intented?

    mathistdn

    (@mathistdn)

    Same, it tried to rollbback to 3.3.0 but it doesn’t work. I also tried the latest fix on 3.3.3 and it doesn’t work neither.

    Customers can’t order

    Edit: my mistake, it works after cleaning Server JS cache and cloudflare DNS JS cache

    • This reply was modified 1 year ago by mathistdn.
    lamenuisiere

    (@lamenuisiere)

    Same problem, always have the ““Please select drop-off location” but no one appears when we write a city or adress in the search zone…

    Packlink : Version 3.3.3

    WordPress: version 6.4.1.

    munikho

    (@munikho)

    I had the same error in combination with the CheckoutWC plugin. This was the original code in /wp-content/plugins/packlink-pro-shipping/resources/js/packlink-checkout.js on line 105.

    let dropOffId = document.querySelector('.shop_table.woocommerce-checkout-review-order-table' + ' input[name="packlink_drop_off_id"]');
    let dropOffExtra = document.querySelector('.shop_table.woocommerce-checkout-review-order-table' + ' input[name="packlink_drop_off_extra"]');

    But .shop_table.woocommerce-checkout-review-order-table doesn’t exist when using the CheckoutWC plugin. So I’ve updated it to

    let dropOffId    = document.querySelector('input[name="packlink_drop_off_id"]');
    let dropOffExtra = document.querySelector('input[name="packlink_drop_off_extra"]');

    And now it works fine.

    But Packlink doesn’t seem to be active on this forum, so I’m not sure how to let them know about this issue and potential fix.

    i’m on latest wordpress and Packlink 3.4.1 and still have this issue. the other JS temporary fix floating around to just hide the message is now giving a flash of it before it’s hidden since the latest woo update, and the only response from Packlink Support in Italy was “it’s another plugin, not ours” which is absolutely not true. I don’t HAVE any other plugins doing anything on the checkout page, and of course it’s Packlink.

    thanks @tibrus78, i’ll try your JS fix now too.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Please select drop-off location’ is closed to new replies.