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

#   order-dependent form

##

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

Less More

- Posts: 19
- Thank you received: 2
-
-

13 years 1 month ago [\#123366](#123366) by [Erik09](/forum/user/12014-erik09 "View Erik09's Profile")  *[order-dependent form](/forum/2-general-talk-about-hikashop/861954-order-dependent-form#123366 "Hi,  Besides downloadables (ebooks), I wil also start offering some physical goods soon. Obviously I will need address-info for shipment.  However if someone only orders an ebook, I don't want them to have to input all their address-info. Is there an easy way to make the form order-dependent?  Thanks, Erik")* was created by *[Erik09](/forum/user/12014-erik09 "View Erik09's Profile")*

Hi,

Besides downloadables (ebooks), I wil also start offering some physical goods soon. Obviously I will need address-info for shipment.

However if someone only orders an ebook, I don't want them to have to input all their address-info. Is there an easy way to make the form order-dependent?

Thanks,
Erik

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 1 month ago [\#123380](#123380) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[order-dependent form](/forum/2-general-talk-about-hikashop/861954-order-dependent-form#123380 "Hi,  Besides downloadables (ebooks), I wil also start offering some physical goods soon. Obviously I will need address-info for shipment.  However if someone only orders an ebook, I don't want them to have to input all their address-info. Is there an easy way to make the form order-dependent?  Thanks, Erik")*

Hi,

If you add a weight/dimensions to your physical goods, and that your customer add one of these products to his cart, he will have to add his shipping address.
But what do you exactly mean when you say :

> I don't want them to have to input all their address-info.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 1 month ago [\#123381](#123381) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[order-dependent form](/forum/2-general-talk-about-hikashop/861954-order-dependent-form#123381 "Hi,  Besides downloadables (ebooks), I wil also start offering some physical goods soon. Obviously I will need address-info for shipment.  However if someone only orders an ebook, I don't want them to have to input all their address-info. Is there an easy way to make the form order-dependent?  Thanks, Erik")*

Hi Erik,

The registration form included Hikashop is the joomla's one and the address fields are simply Hikashop custom fields as you may know. The main problem is that if a registration type is defined, with required fields, it will be hard to avoid the checking process. What I suggest you is to make the address field not required. So if people order a digital product, they don't have to give their address, and if they order a real product, they will have the possibility to.

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

- **[PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")**
- [![PolishedGeek's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar8378_2012-07-29-5.png)](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")
- [ Offline](/forum/user/8378-polishedgeek)
- Official HikaShop Development Partner

Less More

- Posts: 329
- Thank you received: 94
-
- [](http://PolishedGeek.com/?utm_source=hikashop)
-

13 years 1 month ago [\#123682](#123682) by [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")  Replied by *[PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")* on topic *[order-dependent form](/forum/2-general-talk-about-hikashop/861954-order-dependent-form#123682 "Hi,  Besides downloadables (ebooks), I wil also start offering some physical goods soon. Obviously I will need address-info for shipment.  However if someone only orders an ebook, I don't want them to have to input all their address-info. Is there an easy way to make the form order-dependent?  Thanks, Erik")*

The only downside of course is you may get several orders a week that are missing delivery info because the fields were optional, which could be an administrative hassle. It also would be problematic if you are doing calculated shipping.

To avoid this, you could have a developer add a bit of custom JavaScript to the order form so when shipping is required, those fields will be validated to make sure they are filled in, and when shipping is not required, they will remain optional.

---

~ Deb Cinkus, CEO

Polished Geek: more with monday․com
eCommerce Business Process Automation Experts

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

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

Less More

- Posts: 19
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#123901](#123901) by [Erik09](/forum/user/12014-erik09 "View Erik09's Profile")  Replied by *[Erik09](/forum/user/12014-erik09 "View Erik09's Profile")* on topic *[order-dependent form](/forum/2-general-talk-about-hikashop/861954-order-dependent-form#123901 "Hi,  Besides downloadables (ebooks), I wil also start offering some physical goods soon. Obviously I will need address-info for shipment.  However if someone only orders an ebook, I don't want them to have to input all their address-info. Is there an easy way to make the form order-dependent?  Thanks, Erik")*

Thank you all for your suggestions. I have been playing with weight/dimension settings (as Mohamed suggested), hoping that the script would only ask for address-details when shipping is needed. No luck ![:(](/media/kunena/emoticons/5.png ":(")

So right now I think the only option I have is to force every buyer to include their address-info.

I really think the digital goods/downloadables capabilities of Hikashop could (should) be improved. First of, buyers of digital goods should be enabled to checkout without being forced to register (Joomla account). Secondly - and this is what this thread is about - the script should be able to distinguish between 'mixed-purchases' and 'purely digital-goods-purchases'. In the latter case the address-fields &amp; shipping options could be skipped.

Cheers,
Erik

Last edit: 13 years 1 month ago by [Erik09](/forum/user/12014-erik09 "View Erik09's Profile").

The following user(s) said Thank You: [Champagneman](/forum/user/28480-champagneman "View Champagneman's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2MTk1NC1vcmRlci1kZXBlbmRlbnQtZm9ybT90bXBsPW1hcmtkb3du) 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.113 seconds

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

[](#top)
