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

#   Help needed with implementation of "Custom Field price"

##

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

Less More

- Posts: 117
- Thank you received: 6
-
-
-
-

6 years 2 weeks ago -  6 years 2 weeks ago [\#325973](#325973) by [Formidog](/forum/user/33871-formidog "View Formidog's Profile")  *[Help needed with implementation of "Custom Field price"](/forum/27-checkout/901229-help-needed-with-implementation-of-custom-field-price#325973 "-- HikaShop version -- : 4.4 -- Joomla version -- : 3.9.22 -- PHP version -- : 7.4 -- Browser(s) name and version -- : all  I need some help with the following  We want to give customers an option to donate 5% of their order total to a charity organization by choice.  To &quot;build&quot; this we have bought &quot;Custom Field price By Obsidev&quot;.  I understand that this plug-in, together with a custom &quot;order&quot; field will do the trick.  So...  I made a Custom Order field of the type &quot;select&quot; This holds the names of 4 charity organizations  and then I got stuck  Can someone help me further, step by step? How does the &quot;Custom Field price&quot; work?")* was created by *[Formidog](/forum/user/33871-formidog "View Formidog's Profile")*

-- HikaShop version -- : 4.4
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.4
-- Browser(s) name and version -- : all

I need some help with the following

We want to give customers an option to donate 5% of their order total to a charity organization by choice.

To "build" this we have bought "Custom Field price By Obsidev".

I understand that this plug-in, together with a custom "order" field will do the trick.

So...

I made a Custom Order field of the type "select"
This holds the names of 4 charity organizations

and then I got stuck

Can someone help me further, step by step?
How does the "Custom Field price" work?

Last edit: 6 years 2 weeks ago by [Formidog](/forum/user/33871-formidog "View Formidog's Profile").

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

6 years 1 week ago [\#325984](#325984) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Help needed with implementation of "Custom Field price"](/forum/27-checkout/901229-help-needed-with-implementation-of-custom-field-price#325984 "-- HikaShop version -- : 4.4 -- Joomla version -- : 3.9.22 -- PHP version -- : 7.4 -- Browser(s) name and version -- : all  I need some help with the following  We want to give customers an option to donate 5% of their order total to a charity organization by choice.  To &quot;build&quot; this we have bought &quot;Custom Field price By Obsidev&quot;.  I understand that this plug-in, together with a custom &quot;order&quot; field will do the trick.  So...  I made a Custom Order field of the type &quot;select&quot; This holds the names of 4 charity organizations  and then I got stuck  Can someone help me further, step by step? How does the &quot;Custom Field price&quot; work?")*

Hi,

You need to create a second custom order field of the type "text" so that the customer can enter the amount.
And you need to configure that plugin to use the value in that custom text field via the "new" button of the System&gt;Plugins menu in the backend of HikaShop as explained in the configuration section here:
[ www.hikashop.com/marketplace/product/202...rice-by-obsidev.html](https://www.hikashop.com/marketplace/product/202-custom-field-price-by-obsidev.html)

The following user(s) said Thank You: [Formidog](/forum/user/33871-formidog "View Formidog's Profile")

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

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

Less More

- Posts: 117
- Thank you received: 6
-
-
-
-

6 years 1 week ago -  6 years 1 week ago [\#326223](#326223) by [Formidog](/forum/user/33871-formidog "View Formidog's Profile")  Replied by *[Formidog](/forum/user/33871-formidog "View Formidog's Profile")* on topic *[Help needed with implementation of "Custom Field price"](/forum/27-checkout/901229-help-needed-with-implementation-of-custom-field-price#326223 "-- HikaShop version -- : 4.4 -- Joomla version -- : 3.9.22 -- PHP version -- : 7.4 -- Browser(s) name and version -- : all  I need some help with the following  We want to give customers an option to donate 5% of their order total to a charity organization by choice.  To &quot;build&quot; this we have bought &quot;Custom Field price By Obsidev&quot;.  I understand that this plug-in, together with a custom &quot;order&quot; field will do the trick.  So...  I made a Custom Order field of the type &quot;select&quot; This holds the names of 4 charity organizations  and then I got stuck  Can someone help me further, step by step? How does the &quot;Custom Field price&quot; work?")*

Thank you Nicolas

step by step:

About the second custom field:
We don't want the customer to enter an amount.
The purpose is that the amount is 5% of the order value

How to get this?

I have found this:
[ demo.hikashop.com/index.php/en/hikashop/...t-page/donation-page](http://demo.hikashop.com/index.php/en/hikashop/product-page/donation-page)
where a user can enter an amount to be distracted from his account.
That is not the way I want this to work.
My objective is that we donate a percentage of the total order amount to a charity of the customer's choice.
So I want the custom field to calculate a 5% percentage of the total order amount and make this visible for the customer.

How to get a calculating custom field?

Greetz

Dick

Last edit: 6 years 1 week ago by [Formidog](/forum/user/33871-formidog "View Formidog's Profile"). Reason: found this: http://demo.hikashop.com/index.php/en/hikashop/product-page/donation-page

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

6 years 1 week ago [\#326268](#326268) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Help needed with implementation of "Custom Field price"](/forum/27-checkout/901229-help-needed-with-implementation-of-custom-field-price#326268 "-- HikaShop version -- : 4.4 -- Joomla version -- : 3.9.22 -- PHP version -- : 7.4 -- Browser(s) name and version -- : all  I need some help with the following  We want to give customers an option to donate 5% of their order total to a charity organization by choice.  To &quot;build&quot; this we have bought &quot;Custom Field price By Obsidev&quot;.  I understand that this plug-in, together with a custom &quot;order&quot; field will do the trick.  So...  I made a Custom Order field of the type &quot;select&quot; This holds the names of 4 charity organizations  and then I got stuck  Can someone help me further, step by step? How does the &quot;Custom Field price&quot; work?")*

Hi,

In that case, you can't do it with this plugin.
The goal of this plugin is to allow the customer to enter (or select) an amount which will be added to his order.
If the amount need to be a percentage of the total amount, this plugin can't do it.

However, in that case, you could do it with either the shipping method selection or the payment method selection.
For example, if you have only one payment method, you can duplicate it, and in the copy, you can enter a "percentage" of 5.
Then, you can use some translation override so that the payment method selection because the charity donation selection, and the payment fee because the donation amount:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)

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

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