- 15 September, 2018 at 5:05 pm #39275
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.15 September, 2018 at 5:40 pm #39276
without at least a link to your site i cannot comment15 September, 2018 at 5:42 pm #39277This reply has been marked as private.15 September, 2018 at 5:48 pm #39278
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)15 September, 2018 at 6:08 pm #39279
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-settings15 September, 2018 at 6:19 pm #39280This reply has been marked as private.15 September, 2018 at 6:24 pm #39281
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-pickup15 September, 2018 at 6:31 pm #39282
I ‘ve checked this one :
set “pickup” to be the default selection (make sure to clear your browser cache to see the effect)15 September, 2018 at 7:19 pm #39284
which is why pickup is selected and no address is made mandatory (or will even be checked) – as per your settings16 September, 2018 at 1:52 pm #39316
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.17 September, 2018 at 10:40 am #39330
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)26 September, 2018 at 2:42 pm #39413
I updated the plugin and everything works fine now.27 September, 2018 at 12:58 am #39428
glad to hear it.
thanks for the update
- The topic ‘WPPizza Post/Zip Code’ is closed to new replies.