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

#   Hidden custom field not included in price calculation

##

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

Less More

- Posts: 637
- Thank you received: 26
-
-
-

1 year 1 month ago -  1 year 1 month ago [\#368893](#368893) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[Hidden custom field not included in price calculation](/forum/25-install-update/909775-hidden-custom-field-not-included-in-price-calculation#368893 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3  Hi Supportteam,  I noticed that when I use a hidden custom field for the setup fee, the value is not included in the price calculation formula. If I enter the amount manually, the formula works correctly. So the formula itself is fine.  Is it correct that hidden custom fields cannot be used in price calculations? Ideally, I would like the client to update the setup fee in the custom field (just like the other values), without having to edit the formula itself.  See screenshot  Kind regards, Lumiga")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.3
-- PHP version -- : 8.3

Hi Supportteam,

I noticed that when I use a hidden custom field for the setup fee, the value is not included in the price calculation formula. If I enter the amount manually, the formula works correctly. So the formula itself is fine.

Is it correct that hidden custom fields cannot be used in price calculations? Ideally, I would like the client to update the setup fee in the custom field (just like the other values), without having to edit the formula itself.

See screenshot

[ ![screenshot-26.png](/forum/attachment/60882) ](/forum/attachment/60882 "screenshot-26.png")

Kind regards,
Lumiga

---

Kind regards,
Lumiga

- [ ![screenshot-26.png](/forum/attachment/60882) ](/forum/attachment/60882 "screenshot-26.png") [ ](/forum/attachment/60882?download=1 "screenshot-26.png")

Last edit: 1 year 1 month ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile").

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

1 year 1 month ago [\#368901](#368901) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hidden custom field not included in price calculation](/forum/25-install-update/909775-hidden-custom-field-not-included-in-price-calculation#368901 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3  Hi Supportteam,  I noticed that when I use a hidden custom field for the setup fee, the value is not included in the price calculation formula. If I enter the amount manually, the formula works correctly. So the formula itself is fine.  Is it correct that hidden custom fields cannot be used in price calculations? Ideally, I would like the client to update the setup fee in the custom field (just like the other values), without having to edit the formula itself.  See screenshot  Kind regards, Lumiga")*

Hi,

No, that's not correct. Custom item fields of the type "hidden" can also be used in the formulas.
However, the same rules apply to them than other custom item fields. For the field to be used on the frontend, it's frontend display setting needs to be activated.
This also means that the user can potentially change its value on the frontend. So basing yourself on it for the calculation is not recommended.

What you should rather use is a custom field of the table "product" and of the type "text".
You can still configure a default value in it. And when you create a product, that default value will be set in the custom field.
And if you want to change the value for a product, you can edit the product.
And if you need the value to change for all the products, it's possible with a mass action.

The following user(s) said Thank You: [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")

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

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