[Skip to main content](#vessel-content)

#   Validate Shipping Address

##

- **[iconvisual](/forum/user/30593-iconvisual "View iconvisual's Profile")**
- [![iconvisual's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30593-iconvisual "View iconvisual's Profile") Topic Author
- [ Offline](/forum/user/30593-iconvisual)

Less More

- Posts: 58
- Thank you received: 0
-
-

11 years 9 months ago [\#187388](#187388) by [iconvisual](/forum/user/30593-iconvisual "View iconvisual's Profile")  *[Validate Shipping Address](/forum/28-shipping-methods/874374-validate-shipping-address#187388 "-- HikaShop version -- : HikaShop Business: 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.24  Hi,  I wonder whether it is possible that the shipping address when entered can be validated, for example - my shop can not ship to 'PO Box'. The shopper is allowed to enter a PO Box address as their billing address, but not as their shipping address.  I hope this is clear, is there anyway to achieve this?  Thanks,")* was created by *[iconvisual](/forum/user/30593-iconvisual "View iconvisual's Profile")*

-- HikaShop version -- : HikaShop Business: 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.24

Hi,

I wonder whether it is possible that the shipping address when entered can be validated, for example - my shop can not ship to 'PO Box'. The shopper is allowed to enter a PO Box address as their billing address, but not as their shipping address.

I hope this is clear, is there anyway to achieve this?

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc0Mzc0LXZhbGlkYXRlLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 9 months ago [\#187394](#187394) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Validate Shipping Address](/forum/28-shipping-methods/874374-validate-shipping-address#187394 "-- HikaShop version -- : HikaShop Business: 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.24  Hi,  I wonder whether it is possible that the shipping address when entered can be validated, for example - my shop can not ship to 'PO Box'. The shopper is allowed to enter a PO Box address as their billing address, but not as their shipping address.  I hope this is clear, is there anyway to achieve this?  Thanks,")*

Hi,

There is no option to have different fields/checks on the fields based on whether the address is a shipping address or a billing as an address can actually be used for both.
It would require a customization of the code in order to add that check before the order is created.
I think that developing a hikashop plugin implementing the onBeforeOrderCreate trigger should do the job.

Best regards,
Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc0Mzc0LXZhbGlkYXRlLXNoaXBwaW5nLWFkZHJlc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
