Shopware zip code validation in confirm order page

♀尐吖头ヾ 提交于 2019-12-24 22:05:24

问题


I need to validation zip code in order confirm page. Once customer entered shipping address zip code is matched our allowed shipping zone zip code list process the order else return the error message.

Note: I have create custom plugin. So need to do this process via this plugin.


回答1:


The SwagVatIDValidation of shopware does something similar - it validates the vatid on several pages (registration, changing of adress in account, by login, ...). You can get it for free in the community store, perhaps this will help you to get an inspiration on how to do it yourself.

https://store.shopware.com/en/swag161736212188f/vat-id-validation.html



来源:https://stackoverflow.com/questions/51779822/shopware-zip-code-validation-in-confirm-order-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!