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

#   custom field default not working

##

- **[fullfusion](/forum/user/2962-fullfusion "View fullfusion's Profile")**
- [![fullfusion's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2962.png)](/forum/user/2962-fullfusion "View fullfusion's Profile") Topic Author
- [ Offline](/forum/user/2962-fullfusion)

Less More

- Posts: 109
- Thank you received: 2
-
-

10 years 11 months ago [\#224943](#224943) by [fullfusion](/forum/user/2962-fullfusion "View fullfusion's Profile")  *[custom field default not working](/forum/27-checkout/881243-custom-field-default-not-working#224943 "-- url of the page with the problem -- :   www.blynd.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.7 -- PHP version -- : 5.4.45  I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.")* was created by *[fullfusion](/forum/user/2962-fullfusion "View fullfusion's Profile")*

-- url of the page with the problem -- : [ www.blynd.com](https://www.blynd.com)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.7
-- PHP version -- : 5.4.45

I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.

- [ ![blynd-backend.jpg](/forum/attachment/28601) ](/forum/attachment/28601 "blynd-backend.jpg") [ ](/forum/attachment/28601?download=1 "blynd-backend.jpg")
- [ ![blynd-frontend.jpg](/forum/attachment/28602) ](/forum/attachment/28602 "...d-frontend.jpg") [ ](/forum/attachment/28602?download=1 "...d-frontend.jpg")

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

10 years 11 months ago [\#224953](#224953) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[custom field default not working](/forum/27-checkout/881243-custom-field-default-not-working#224953 "-- url of the page with the problem -- :   www.blynd.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.7 -- PHP version -- : 5.4.45  I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.")*

Hi,

Please edit the views "user / custom_fields_bootstrap" and "user / custom_fields" and replace the line: Code:

@$this-&gt;$type-&gt;$fieldName,

By: Code:

@$oneExtraField-&gt;field_default,

In both views.

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

- **[fullfusion](/forum/user/2962-fullfusion "View fullfusion's Profile")**
- [![fullfusion's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2962.png)](/forum/user/2962-fullfusion "View fullfusion's Profile") Topic Author
- [ Offline](/forum/user/2962-fullfusion)

Less More

- Posts: 109
- Thank you received: 2
-
-

10 years 11 months ago [\#225026](#225026) by [fullfusion](/forum/user/2962-fullfusion "View fullfusion's Profile")  Replied by *[fullfusion](/forum/user/2962-fullfusion "View fullfusion's Profile")* on topic *[custom field default not working](/forum/27-checkout/881243-custom-field-default-not-working#225026 "-- url of the page with the problem -- :   www.blynd.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.7 -- PHP version -- : 5.4.45  I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.")*

That took care of it. Thank you for the quick solution!

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

- **[liontv](/forum/user/40184-liontv "View liontv's Profile")**
- [![liontv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/40184-liontv "View liontv's Profile")
- [ Offline](/forum/user/40184-liontv)

Less More

- Posts: 25
- Thank you received: 1
-
-
-

10 years 10 months ago -  10 years 10 months ago [\#225571](#225571) by [liontv](/forum/user/40184-liontv "View liontv's Profile")  Replied by *[liontv](/forum/user/40184-liontv "View liontv's Profile")* on topic *[custom field default not working](/forum/27-checkout/881243-custom-field-default-not-working#225571 "-- url of the page with the problem -- :   www.blynd.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.7 -- PHP version -- : 5.4.45  I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.")*

- HikaShop version -: 2.6.0
- Joomla version -: 3.4.7
- PHP version -: 5.4.45

I have the same problem to generate custom fields on the screen product.
These are the points that i have continued to do so.
I crea the date field: [ captura 1 ](http://www.awesomescreenshot.com/image/879893/aec60b84c781eea406635a3e254763ac)[ captura 2](http://www.awesomescreenshot.com/image/879875/79bb6b632f6548e5b7dbac92135a0227)

2. I think the product and assign features and custom fields: [ captura 3](http://www.awesomescreenshot.com/image/879898/b537bccff6bb465ee848fed9a1275991)

3. Result: [ captura 4](http://www.awesomescreenshot.com/image/879922/959be1463a54a4bbbc1d021ed066ba50)

5. What I need is [ captura 5](http://www.awesomescreenshot.com/image/879981/c5a0408db2bb0c0fdb8fcfd3c0d32eba)
Maybe i writing some code in show_tubular.php.

I have reviewed and tested all solutions this is foro but do not get any results Could you please help me.

I need so little, please

Last edit: 10 years 10 months ago by [liontv](/forum/user/40184-liontv "View liontv's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MTI0My1jdXN0b20tZmllbGQtZGVmYXVsdC1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) 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: 14326
-
-

10 years 10 months ago [\#225587](#225587) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[custom field default not working](/forum/27-checkout/881243-custom-field-default-not-working#225587 "-- url of the page with the problem -- :   www.blynd.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.7 -- PHP version -- : 5.4.45  I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.")*

Custom fields of the table "product" allow you to configure additional information fields to your products.
From what I can understand, you wan the customers to be able to fill these fields for their product purchase.
In that case, you want to create instead custom fields of the table "item" and not "product".

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

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

- **[liontv](/forum/user/40184-liontv "View liontv's Profile")**
- [![liontv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/40184-liontv "View liontv's Profile")
- [ Offline](/forum/user/40184-liontv)

Less More

- Posts: 25
- Thank you received: 1
-
-
-

10 years 10 months ago -  10 years 10 months ago [\#225616](#225616) by [liontv](/forum/user/40184-liontv "View liontv's Profile")  Replied by *[liontv](/forum/user/40184-liontv "View liontv's Profile")* on topic *[custom field default not working](/forum/27-checkout/881243-custom-field-default-not-working#225616 "-- url of the page with the problem -- :   www.blynd.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.7 -- PHP version -- : 5.4.45  I have a custom field on the login page that has three check boxes. The first one is to be checked by default and the other two are to not be checked by default. Everything looks correct in the field configuration, but the one that should be checked is not on the front end. What would cause that? See screen shots.")*

BUAA! I did not expect.
Many Thanks Nicholas

I'm super grateful, hikashop surprises me again today ... A great extension but never without his support battalion

Last edit: 10 years 10 months ago by [liontv](/forum/user/40184-liontv "View liontv's Profile").

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

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