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

#   Display \| Custom Fields \| Item \| Main Attributes

##

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

Less More

- Posts: 55
- Thank you received: 0
-
-
-
- [](https://www.facebook.com/ElectronicCarpenter)
-

9 years 9 months ago [\#260974](#260974) by [ElectronicCarpenter](/forum/user/34301-electroniccarpenter "View ElectronicCarpenter's Profile")  *[Display \| Custom Fields \| Item \| Main Attributes](/forum/26-product-category-display/888601-display-custom-fields-item-main-attributes#260974 "-- url of the page with the problem -- :   varsitysportshop.com/lawnwood/product/in...al-customized-jacket  -- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.6  What is the purpose for the Attributes in the main attributes section of a custom field?  I know I can make a radio button to ask would you like this option. I f the customer answered yes. Then a 2nd custom field that happens to be a text field will appear.  I need this to happen and add 5$ to the option costs when this is selected. How do Ido this? PJ  Loving the new updates..")* was created by *[ElectronicCarpenter](/forum/user/34301-electroniccarpenter "View ElectronicCarpenter's Profile")*

-- url of the page with the problem -- : [ varsitysportshop.com/lawnwood/product/in...al-customized-jacket](http://varsitysportshop.com/lawnwood/product/individual-customized-jacket)
-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.6

What is the purpose for the Attributes in the main attributes section of a custom field?

I know I can make a radio button to ask would you like this option.
I f the customer answered yes.
Then a 2nd custom field that happens to be a text field will appear.

I need this to happen and add 5$ to the option costs when this is selected.
How do Ido this?
PJ

Loving the new updates..

---

Sell more, sell better, do not cheapen your brands.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODg2MDEtZGlzcGxheS1jdXN0b20tZmllbGRzLWl0ZW0tbWFpbi1hdHRyaWJ1dGVzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

9 years 9 months ago [\#261012](#261012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display \| Custom Fields \| Item \| Main Attributes](/forum/26-product-category-display/888601-display-custom-fields-item-main-attributes#261012 "-- url of the page with the problem -- :   varsitysportshop.com/lawnwood/product/in...al-customized-jacket  -- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.6  What is the purpose for the Attributes in the main attributes section of a custom field?  I know I can make a radio button to ask would you like this option. I f the customer answered yes. Then a 2nd custom field that happens to be a text field will appear.  I need this to happen and add 5$ to the option costs when this is selected. How do Ido this? PJ  Loving the new updates..")*

Hi,

1. It's to add HTML attributes to the field. For example, you could write :
autocomplete="off"
and that would disable the browser autocomplete on the text field.

2. Two ways are possible:
- options allow you to add such fee, so you could use an option instead of a custom field for the fee. However, there is no setting to link the display of a custom field to an option. So you would have to add some custom javascript on the page to handle that yourself. It should be a matter of a few lines of basic javascript so any developer should be able to do that.
- You could keep using custom fields, and have a price override plugin developed to change the product price in the cart based on the value of the custom fields (basing yourself on the donation plugin in HikaShop). It should also only require a few lines of PHP code.

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

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