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

#   Add custom fields to product?

##

- **[smeako](/forum/user/6292-smeako "View smeako's Profile")**
- [![smeako's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/ball.gif)](/forum/user/6292-smeako "View smeako's Profile") Topic Author
- [ Offline](/forum/user/6292-smeako)

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 8 months ago [\#44309](#44309) by [smeako](/forum/user/6292-smeako "View smeako's Profile")  *[Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#44309 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")* was created by *[smeako](/forum/user/6292-smeako "View smeako's Profile")*

Hi,
My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club.
i wish to record details like name, date of birth etc relating to each registration being purchased.
Is this achievable?
Thanks

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 8 months ago [\#44367](#44367) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#44367 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")*

Hi smeako,

Using custom fields of the table "item" (business edition) sounds the way to go.
Add as custom fields as wanted. Don't forget to enable "Front-end" and if wanted "Required".

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

- **[smeako](/forum/user/6292-smeako "View smeako's Profile")**
- [![smeako's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/ball.gif)](/forum/user/6292-smeako "View smeako's Profile") Topic Author
- [ Offline](/forum/user/6292-smeako)

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 8 months ago [\#44504](#44504) by [smeako](/forum/user/6292-smeako "View smeako's Profile")  Replied by *[smeako](/forum/user/6292-smeako "View smeako's Profile")* on topic *[Re: Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#44504 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")*

Thank you Xavier, That worked a treat, Just couple more questions though.

The fields display straight when not marked as required but as soon as I Mark them required the title displays out of line with the text field etc.

How do I display a date field without the auto calandar function?

Cheers

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 8 months ago [\#44506](#44506) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#44506 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")*

Hi,

To hide the auto calendar function, you can just edit your template css file.
Joomla &gt; Extentions &gt; Template manager &gt; (if joomla 2.5 Tab templates) &gt; Select you template &gt; Click on "edit the CSS". (if joomla 1.5 "template.css")

And add: Code:

.calendar, .calendar table{ display: none; }

For the title which display out of line, in the same css file, try : Code:

\#hikashop_product_custom_item_info .key{ width: 200px; }

Or other size.

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

- **[smeako](/forum/user/6292-smeako "View smeako's Profile")**
- [![smeako's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/ball.gif)](/forum/user/6292-smeako "View smeako's Profile") Topic Author
- [ Offline](/forum/user/6292-smeako)

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 8 months ago [\#44845](#44845) by [smeako](/forum/user/6292-smeako "View smeako's Profile")  Replied by *[smeako](/forum/user/6292-smeako "View smeako's Profile")* on topic *[Re: Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#44845 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")*

Thanks again Xavier,

I've managed to hide the calendar and widen the display thanks to your code. Unfortunately the text fields are still displaying out of line when marked "Required".

I have attached a couple of screen shots for your reference. One shows text fields marked "Not Required" and in line. The other shows the required "*" and fields are out of allignment.

Do you have any further ideas as to what may be causing this.

Cheers

[ ![HikashopScreenShotwithfieldsmarked-Required.jpg](/forum/attachment/3253) ](/forum/attachment/3253 "...d-Required.jpg")

[ ![HikashopScreenShotwithfieldsmarked-NotRequired.jpg](/forum/attachment/3254) ](/forum/attachment/3254 "...otRequired.jpg")

- [ ![HikashopScreenShotwithfieldsmarked-Required.jpg](/forum/attachment/3253) ](/forum/attachment/3253 "...d-Required.jpg") [ ](/forum/attachment/3253?download=1 "...d-Required.jpg")
- [ ![HikashopScreenShotwithfieldsmarked-NotRequired.jpg](/forum/attachment/3254) ](/forum/attachment/3254 "...otRequired.jpg") [ ](/forum/attachment/3254?download=1 "...otRequired.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0MzA5LWFkZC1jdXN0b20tZmllbGRzLXRvLXByb2R1Y3Q/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: 86587
- Thank you received: 14325
-
-

14 years 7 months ago [\#45068](#45068) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#45068 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")*

That's because of the CSS of your template. You can add the CSS below in order to avoid that: Code:

\#hikashop_product_custom_item_info input,#hikashop_product_custom_item_info select{ display: inline !important; }

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

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

- **[smeako](/forum/user/6292-smeako "View smeako's Profile")**
- [![smeako's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/ball.gif)](/forum/user/6292-smeako "View smeako's Profile") Topic Author
- [ Offline](/forum/user/6292-smeako)

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 7 months ago [\#45069](#45069) by [smeako](/forum/user/6292-smeako "View smeako's Profile")  Replied by *[smeako](/forum/user/6292-smeako "View smeako's Profile")* on topic *[Re: Add custom fields to product?](/forum/4-how-to/44309-add-custom-fields-to-product#45069 "Hi, My shop is set up for a sporting club and one product I have set up is an online player registration. I wish to add custom fields to the product so I can record various personal details relating to the player being registered. One common scenario would be that a parent registers with our site but wants to register multiple children to play with our club. i wish to record details like name, date of birth etc relating to each registration being purchased. Is this achievable? Thanks")*

Cheers Nicolas,

That worked great. Thanks heaps for your help on this one guys.

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

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