WPPizza Post/Zip Code

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #39275
    faezehzar
    Participant

    Hi
    There is problem in place order when I use WPPizza Post/Zip Code.
    I use google map and customer have insert their address in field before map to check the distance and see if we have delivery service or not. but the problem is the fild dose’nt force cutomer to choose from the suggestions and if even customer type any nonsense thing like 123 for address and click on place order button order will be send whithout any error mesage.

    #39276
    Olly
    Admin & Mod

    without at least a link to your site i cannot comment

    #39277
    faezehzar
    Participant
    This reply has been marked as private.
    #39278
    Olly
    Admin & Mod

    first thing i’d suggest is updating the plugin.
    you are running version 4.0.6 (August 2017) when the current version is 4.0.17 (September 2018)

    #39279
    Olly
    Admin & Mod

    in any event, it looks more like you simply turned it off to be mandatory in the plugin settings.

    Selection required ? -> require customer to select a post/zipcode (or address – applicable when using google maps) [you probably want this on]

    in yoursite.com/wp-admin/edit.php?post_type=wppizza&page=wppizza_dbp&tab=frontend-settings

    #39280
    faezehzar
    Participant
    This reply has been marked as private.
    #39281
    Olly
    Admin & Mod

    you have also set it to NOT make the selection mandatory when self-pickup (which is fine anyway as the address is completely irrelevant when someone comes to your shop to pick things up )
    and make the default of your shop to be self-pickup

    #39282
    faezehzar
    Participant

    I ‘ve checked this one :
    set “pickup” to be the default selection (make sure to clear your browser cache to see the effect)

    #39284
    Olly
    Admin & Mod

    which is why pickup is selected and no address is made mandatory (or will even be checked) – as per your settings

    #39316
    faezehzar
    Participant

    Dear Olly
    I checked all settings and now I’m sure that this problem has nothing to do with settings.
    when customer insert the address he/she must forced to select from autocomplete suggestions otherwise the distance not calculated at all and also in checkout when customer click on send order button, address field has to validate and if its not in like address customer get an error message.
    customer can type anything for address and send the order without distance calculation which is brak the most important feature of this plugin.
    This happen to my client several time and he even had to deliver order to more than 10km distance despite we put the delivery service to 3km.

    #39330
    Olly
    Admin & Mod

    this has ALL to do with your settings
    you have set it to be pickup as default AND you have set it to “do NOT require the customer to make a selection if self-pickup is selected”

    so it does exactly that . i.e if it’s self-pickup – which you’ve set to be the default – it will not validate or even require an entry in the address box. (which is also just fine as an address is superfluous if someone picks things up themself)

    #39413
    faezehzar
    Participant

    Dear Olly
    I updated the plugin and everything works fine now.

    #39428
    Olly
    Admin & Mod

    glad to hear it.
    thanks for the update

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘WPPizza Post/Zip Code’ is closed to new replies.