Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter buorus

    (@buorus)

    Normally have the additional field below Shipping on checkout page detailed as “Local Delivery Charge” which is where the distance based fee normally shows up. For some reason this no longer comes up Kim.

    On Settings page, fields after Api Key
    Fee name: Delivery
    Divider 1
    Price 4000
    Min dist 6.25
    Max dist
    Min cart
    Kilometers
    Flat rate
    Don’t hide the shipping methods
    Fixed Fee 25000
    Taxable No
    Disable Virtual products No
    Shipping address

    Thread Starter buorus

    (@buorus)

    Ok, thanks Kim. By leaving the Region blank and requiring an entry, this forces the ajax update with the complete address (There is still a glitch scenario if they go back and modify the address and their last action is a click of the mouse to select new address, with no subsequent keystroke, but this is a less likely action.)

    I’ll check effect of other plugins as suggested too.

    Thanks for your explanation and help.

    Ben

    Thread Starter buorus

    (@buorus)

    Example: If we type into the address field on checkout page “147 xo viet”, autocomplete provides a dropdown of addresses, probably from closest to furthest away, and the plugin based on autocomplete grading by the looks of it assumes this is “147 Xô Viết Nghệ Tĩnh, Phường 17, Bình Thạnh, Ho Chi Minh City, Vietnam” and gives shipping fee of VND31,788 (just a few km away)

    But if this is not the address we are after and say click desired address from the drop down list as “147 Xô Viết Nghệ Tĩnh, Cẩm Lệ District, Da Nang, Vietnam” (1,000km away) the fee does not update as it drops it into the field, as there is no curser advance in the field to prompt the fee refresh.

    Thread Starter buorus

    (@buorus)

    I have an update on this Kim: As the autocomplete address contains city and country, I had removed the “City” field on checkout page (as this was doubled up information), which I can see has been the reason for no fee showing up for guests, as the “City” field is required for this plugin. I will have to research how to have autocomplete only drop in the street and district, and leave city and country to be added in the subsequent fields. (I have added the “City” field back in for the time being.)

    The issue for the registered user is still there (and hence now the same issue for the guest), and what is happening is that when entering the address details, every keystroke((s) with inbuilt dwell time by the looks of it) sees the plugin update for distance calculation based on the “google top of list assumed address” at that point. The issue I can see is that when autocomplete proposes a full address and this is then selected as the actual address, the mouse click on the “proposed” address from the list of options updates the address in the address field, but does not prompt the plugin to run another distance calculation based on this finally selected address, so it stays with fee for the incorrectly assumed address.Do you have any suggestions on this?

    Thread Starter buorus

    (@buorus)

    Apologies, referring to WebData Distance Based Fee for WooCommerce. Will post question on correct location on forum

    Thread Starter buorus

    (@buorus)

    cheers

    Thread Starter buorus

    (@buorus)

    Kim, thanks for all your help. Have found that minimum cart total 200000 was the issue. Changing to 200,000 with the comma, and all worked fine. Very happy with how it is working. Good plugin. Thanks for it!!

    Thread Starter buorus

    (@buorus)

    Hey Kim,

    Thanks for trying that! 10,000 is the default fee entered below “Use fixed fee (enter below) If above conditions are not met”. So it is not providing 10,000 based on the distance, but based on conditions not being met, but I cannot see what is wrong as the distance for the address I entered was 4.2km, so should be above the base 1km minimum. If it was taking the distance into account, I would have expected it to be (4.2/2) x 7500 = 15,750

    Thread Starter buorus

    (@buorus)

    Making some progress. Distance based fee now showing.

    Marked fixed fee 10,000 (if above conditions not met, Use fixed fee (enter below)
    Now see Delivery, as a next line after shipping, marked at 10,000.
    On same page, fields after Api Key
    Fee name: Delivery
    Divider 2
    Price 7500
    Min dist 1
    Max dist 25
    Min cart 200000
    Kilometers
    Flat rate

    Does anything there stand out as to why conditions not met when a VND550,000 item is in the cart?

    Thread Starter buorus

    (@buorus)

    Thanks Kim,
    Thanks for the quick response. Is this the best way to contact you, or please let me know best way.

    I must just have something not correct.

    On checkout page I sent you, if I select ‘calculate shipping’, the options for address are:

    Vietnam
    Ho Chi Minh (or other city can be selected from dropdown)
    Town/City (add text)
    Postcode/ZIP (add text)

    with “Update” button at the bottom.
    Not sure where street address should be written with this format, and whatever I enter here says “No shipping options were found for Ho Chi Minh”

    I’m not getting any error logs in Distance Based Fee Settings, or on Google Cloud Platform.The interrogations are showing up as traffic on Google Maps Metrics (with no Errors by API showing.)

    Can I send you some screen shots of shipping page and distance based fee settings page?

Viewing 10 replies - 1 through 10 (of 10 total)