• Resolved luisjo10

    (@luisjo10)


    Hello!

    I have a question, the way my shipping costs are implemented in my business are by kilometer ranges (Example: 0-3km = $1, 3km-6km = $2, 6-9km = $3).

    While trying to implement this inside the plugin I’m not able to set it up in ranges, it only lets me add cost per Km in which case it will make it more expensive to the end customer.

    Is there any workaround for this? Can it be set in ranges? Thanks and best regards.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter luisjo10

    (@luisjo10)

    Also I have another question, why when I choose the map the state selected disappears instead of autocompleting it for the user?

    Is there any way that when selecting the location on the map the state gets updated as well on the state field @ checkout?

    Thanks

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi there, unfortunately the plugin does not have a cost by distance ranges feature. All shipping related logic of the plugin is available in the PRO version and they include:

    – Shipping by Region (Shipping Zones by Drawing)
    – Shipping by Distance
    – Shipping by Store Distance (multi-store)
    – Shipping by Store Location (multi-store)

    A shipping by distance range might be available in a future version of the PRO plugin but it’s not currently possible.

    —-

    Regarding your other question, can you please include a screenshot of the pin address you’re trying to use on the map? Google might not be returning a State for that particular address.

    It can also be a case where the plugin is not currently able to handle the returned State because the “State” shortname returned by the Google API e.g “Varna” might not be what WooCommerce is expecting: “BG-03”. This is an issue I’ve realized with some countries in Europe where Google returns a State Shortname that WooCommerce has in a different format. Causing the state to not be selected

    Thread Starter luisjo10

    (@luisjo10)

    Hey Uriahs Victor,

    Yes I’m using the PRO version, but I had that question because currently I’m having to rely on a plugin that’s lets me set ranges for shipping costs and it is causing me some incompatibilities.

    I would love to just use this one.

    ——————————————

    As with the other question let me attach an image.
    https://ibb.co/ZHSPH00

    Location is Venezuela.

    Thanks and best regards.

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi @luisjo10 For future reference since you have the PRO version of the plugin then please send a support ticket here: https://lpacwp.com/contact/

    This forum is for the free plugin. Thank you the screenshot, I checked out your website but the map doesn’t seem to appear on the checkout page?

    Also please let me know what other plugin you’re using to create the range shipping costs.

    Thread Starter luisjo10

    (@luisjo10)

    Hey Victor oh okay thanks I’m sorry…

    In order for the map to appear you must select the shipping method first, for some reason my woocommerce is defaulting it to pick-up I don’t know why.

    Thanks

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi again, I checked and the issue is happening because Google is returning the state with value “Zulia” while in WooCommerce’s States i18n.php file, the key for Zulia is: “VE-V”, you can see here: https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/i18n/states.php#L2058

    This means that the correct dropdown item is not able to be selected because the plugin tries to use “Zulia” as the option “value” to select when actually it should be “VE-V”.

    As mentioned previously, this happens for some other countries as well so I have it recorded and will work on a possible fix for it in a future version of the plugin. Its a bit tricky so I have to think a bit on how to best approach it.

    I’m closing this issue now but I have recorded both your feature request and your issue and will look into them both.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Distance Rate Shipping Costs’ is closed to new replies.