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

#   Show 1 or 2 sets of custom fields in checkout process

##

- **[webcase](/forum/user/53711-webcase "View webcase's Profile")**
- [![webcase's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar53711.jpg)](/forum/user/53711-webcase "View webcase's Profile") Topic Author
- [ Offline](/forum/user/53711-webcase)

Less More

- Posts: 20
- Thank you received: 8
-
-
-

7 years 10 months ago [\#301509](#301509) by [webcase](/forum/user/53711-webcase "View webcase's Profile")  *[Show 1 or 2 sets of custom fields in checkout process](/forum/25-install-update/896432-show-1-or-2-sets-of-custom-fields-in-checkout-process#301509 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.12 -- Browser(s) name and version -- : Chrome 71.0.3578.80  Hi there!  We sell holidays via our Hikashop webshop (still under construction). A holiday is in fact a Hikashop product, the product price is the per person price. Visitors can book a holiday (buy a product) and they can choose an amount of 1 or 2 of the same product. This way he can book for 1 or 2 persons.  What we need: If someone buys 1 product (eg a holiday for 1 person) we need a set of (custom?) form fields to appear during the checkout process. The buyer needs to fill out his name, date of birth, address and contact info.  If someone buys 2 instances of the same product then we need 2 of the same sets of fields to appear, so the buyer then can fill out the personal info for 2 different individuals.  I think we should be able to achieve this with aid of the custom forms, but not sure if this can be done.  Would really appreciate if you can share your thoughts on this!  Thanks, maurice")* was created by *[webcase](/forum/user/53711-webcase "View webcase's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.2.12
-- Browser(s) name and version -- : Chrome 71.0.3578.80

Hi there!

We sell holidays via our Hikashop webshop (still under construction).
A holiday is in fact a Hikashop product, the product price is the per person price.
Visitors can book a holiday (buy a product) and they can choose an amount of 1 or 2 of the same product. This way he can book for 1 or 2 persons.

**What we need:**
If someone buys 1 product (eg a holiday for 1 person) we need a set of (custom?) form fields to appear during the checkout process. The buyer needs to fill out his name, date of birth, address and contact info.

If someone buys 2 instances of the same product then we need 2 of the same sets of fields to appear, so the buyer then can fill out the personal info for 2 different individuals.

I think we should be able to achieve this with aid of the custom forms, but not sure if this can be done.

Would really appreciate if you can share your thoughts on this!

Thanks,
maurice

---

Cheers,
Maurice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjQzMi1zaG93LTEtb3ItMi1zZXRzLW9mLWN1c3RvbS1maWVsZHMtaW4tY2hlY2tvdXQtcHJvY2Vzcz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14294
-
-

7 years 10 months ago [\#301531](#301531) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show 1 or 2 sets of custom fields in checkout process](/forum/25-install-update/896432-show-1-or-2-sets-of-custom-fields-in-checkout-process#301531 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.2.12 -- Browser(s) name and version -- : Chrome 71.0.3578.80  Hi there!  We sell holidays via our Hikashop webshop (still under construction). A holiday is in fact a Hikashop product, the product price is the per person price. Visitors can book a holiday (buy a product) and they can choose an amount of 1 or 2 of the same product. This way he can book for 1 or 2 persons.  What we need: If someone buys 1 product (eg a holiday for 1 person) we need a set of (custom?) form fields to appear during the checkout process. The buyer needs to fill out his name, date of birth, address and contact info.  If someone buys 2 instances of the same product then we need 2 of the same sets of fields to appear, so the buyer then can fill out the personal info for 2 different individuals.  I think we should be able to achieve this with aid of the custom forms, but not sure if this can be done.  Would really appreciate if you can share your thoughts on this!  Thanks, maurice")*

Hi,

I would recommend to use custom fields of the table "item" like it is done here:
[ demo.hikashop.com/index.php/en/hikashop/product-page/with-form](https://demo.hikashop.com/index.php/en/hikashop/product-page/with-form)
You can create them via the menu Display&gt;Custom fields with the Business edition.
Then, you can potentially set the "quantity input method" setting of your products or the one in the configuration to not display any input. That way, the user will have to fill in the fields, click on the add to cart button, change the fields, and click again on the add to cart button in order to purchase two products with different information.

The following user(s) said Thank You: [webcase](/forum/user/53711-webcase "View webcase's Profile")

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

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