WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Distance Rate Shipping #132982
    salenish
    Participant

    Hi WC Lovers team,
    please help fix distance rate shipping.

    1. If shipping to a different address checkbox is selected, delivery address geolocation should match that address, not geolocate to current user address.
    2. If shipping to a different address checkbox is NOT selected, the delivery address should match that of the billing address (if the billing address is entered).
    3. Only if neither billing nor shipping address is entered should the delivery address geolocate automatically based on the current user address).
    4. delivery address field and Map should be moved below the shipping fields section, and not be before the shipping to a different address checkbox.
    5. distance rate calculation should also take place on the /cart page.

    Please let me know if this is something you are working on. This is a cool feature you have added and needs a bit of tweaking in order to reach its potential.

    Keep up the great work!

    Kind regards, Aleks

    in reply to: Distance Rate Shipping #132210
    salenish
    Participant

    HI @djks74, i am using a special add-on Custom CSS and JS which helps me add jquery content. The code i provided here is far from perfect and although it works, it is only a prototype as it does not take into consideration some key things. I am not using it on my web site. I am waiting for a WCFM solution to the problem.

    Kind regards, Aleks

    in reply to: Distance Rate Shipping #130885
    salenish
    Participant

    Hi,
    i have managed to populate the delivery location input field using the shipping/billing address.
    I need a trigger/function to calculate shipping rate based on whichever first result comes back from the maps api call based on the entered address.
    See code here:

    $(".woocommerce-input-wrapper :input").focusout(function(){
          
        if($("#ship-to-different-address-checkbox").prop("checked") == true){
       		var billship="shipping";
     		}
      	else {
          	var billship="billing";
            }
    
        var x=$("#"+billship+"_address_1").val()+ ", " + $("#"+billship+"_address_2").val() + ", " +$("#"+billship+"_city").val()+$("#"+billship+"_country").val();
        
        $("#wcfmmp_user_location").val(x);
        $("#wcfmmp_user_location").prop("readonly", true);
     /*   need here a trigger to force shipping rate calculation for the first detected result */
    
      });
    salenish
    Participant

    Thank you, works perfectly! 🙂

    in reply to: Distance Rate Shipping #126739
    salenish
    Participant

    Hi, a couple of things I’ve noticed:
    1. BIG ISSUE: If distance rate shipping is activated, it will block any other shipping method configured in woocommerce. Can we please not block other shipping methods configured in woocommerce?
    Example: I have the postal service configured as a global shipping method in the woocommerce shipping settings and want to have distance rate shipping on store levels.
    2. BIG ISSUE: I feel that the additional field for address geolocation should definitely be removed completely, and that geolocation is done based on the entered address in the regular woocommerce address fields. That would remove the chance that a customer can enter one delivery address but select another location on the map so that he can get a cheaper shipping price – this is a critical flaw.
    3. SMALL ISSUE: The brackets () behind the store shipping name are always visible, even if the shipping method is turned off globally.
    4. SMALL ISSUE: the map is fitting between the marketing opt-in checkbox and delivery to another address checkbox, which is inconsistent with the design of the checkout page. The map should be fitting directly under the postcode input box, and be visible only when the customer enters the address. Or please allow somehow for the admin to choose where to display the map (and if it should display the map at all).

    Just some of the ideas on how we can improve this new feature. Looking to contribute to this product with awesome potential! 🙂

    Kind regards, Aleks

    Attachments:
    You must be logged in to view attached files.
    salenish
    Participant

    Hi,
    this doesn’t seem to be working. Can you please include a screenshot with a “Hello world” example of this tweak?

    Thank you for helping me with this.
    Aleks

    in reply to: Distance Rate Shipping #126224
    salenish
    Participant

    I want to report the same problem as L Stewart.
    The /cart page doesn’t seem to include the calculation for delivery. Can you please fix this so that distance is calculated based on the entered country, city and postcode.
    Distance rate shipping is not usable if it doesn’t calculate the distance on the /cart page as well.

    + feature suggestion: if the customer enters the address in the checkout address fields, the map should try to find the address, not request the user to reenter the address above the map again.
    ++ feature suggestion: allow customers to pin the exact location on the map.

    If this is fixed, i’d switch to using this shipping method asap. Thank you for the new feature.

    Aleks

Viewing 7 posts - 1 through 7 (of 7 total)