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

#   Paypal &amp; custom field

##

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18470](#18470) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  *[Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18470 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")* was created by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")*

Hey fellas,

Question 1:

I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?

Question 2:

As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18472](#18472) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18472 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Hi,

1. There is no option for that for now but you can easily do it. Create a custom field of the table product so that you can select whether a product should have the custom item fields displayed or not (values yes and no). Then, edit the file show of the view product via the menu Display-&gt;Views and change the line:
if(!empty($this-&gt;itemFields)){
to:
if(!empty($this-&gt;itemFields) &amp;&amp; $this-&gt;element-&gt;custom_field_column_name=='yes'){

2. There is not yet an option for that. And it wouldn't be easy to add for you.

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18474](#18474) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18474 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Ok, custom field created for "product". However no option yet to define if a product should have it or not thats where your code change comes in ? I went to views but there's a ton of views. Don't know wich one(s) to edit.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18476](#18476) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18476 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

The field should be displayed when you edit a product provided that you defined your custom fields properly. Please do a screenshot of its options.

I told you which view to edit: the file show of the view product

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18480](#18480) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18480 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Ok view edited, but for some reason i can't get the custom field to show up at all ![:s](/worry.gif ":s") anymore on any article image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashop_eigenveld.jpg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18482](#18482) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18482 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

the custom field shoudl be of the type single dropdown or radio button with two values: yes and no...

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18483](#18483) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18483 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Don't think i make myself clear. The client must be able to enter a some text in the mandatory field upon placing the order of the product. Reason is that the entered text will be the title of the delivered product. I want to be able to define which products i want that custom field to appear on. Not all them will.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18498](#18498) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18498 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

I understand that. But you're talking about the custom field of the table item. I'm talking (and your screenshot is) about the custom field of the table product. The later is for defining which products have that input box and the former is to handle that input box.

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18510](#18510) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18510 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

The screenshot is like that because you said to create one in post 18474. Since i'm new to this could you say wich custom fields i need to create in which colums and what to modify. Just for the sake of clarity ill post it again. I need to be able to define which articles have the custom text field (not all of them will), but if it is visible, text input will be mandatory.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18511](#18511) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18511 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

You need TWO custom fields.
one of the table product and of the type radio with two values, yes and no. So that you can select if the product needs the custom item field or not.
one of the table item and of the type text. So that you can display the input box on the product page.

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18516](#18516) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18516 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

i'll post some ss's. Currently i have as followed (note GUI is in dutch)s
visible radio button on backend (mandatory to select if custom text field is needed)
custom field configured to have mandatory text input. However when radio is set to yes, field doesnt appear
item view has been modified with your code change
Code:

if(!$this-&gt;params-&gt;get('catalogue') &amp;&amp; ($this-&gt;config-&gt;get('display_add_to_cart_for_free_products') &#124;&#124; !empty($this-&gt;element-&gt;prices))){ if(!empty($this-&gt;itemFields) &amp;&amp; $this-&gt;element-&gt;custom_field_column_name=='yes'){

image missing http://img842.imageshack.us/img842/9208/hikashopdomein.png
image missing http://img708.imageshack.us/img708/8331/hikashopdomein2.png

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18528](#18528) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18528 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Your custom product field's column name is "domein". So you should replace custom_field_column_name by domein in the code modification.

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago -  15 years 4 months ago [\#18530](#18530) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18530 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

still doesnt work, tried also tried domeinnaam &amp; domein: none of em show the text box. If click to have the "product" field 'domein' to show up on the front end then all it sais is "Ja" (dutch for yes). But thats not what i want, i want the text box

also tiny OT: what is "back end list" for ?

Last edit: 15 years 4 months ago by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18531](#18531) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18531 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Could you give a link to your product page ?

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#18532](#18532) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18532 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

can't do that without setting the site to live, and it isnt ready yet. I can do a test account for ya. But can't find a way to pm you the details

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18533](#18533) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18533 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

You can use our contact form: [ www.hikashop.com/en/support/contact-us.html](http://www.hikashop.com/en/support/contact-us.html)
If you give us access to the back end, we'll check your settings.

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago -  15 years 4 months ago [\#18534](#18534) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18534 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

done: title is my username &amp; optional custom field. Template used is hs_hoster

Last edit: 15 years 4 months ago by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

15 years 4 months ago [\#18535](#18535) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18535 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

The problem is that you didn't replace the custom_field_column_name by the name of your custom field and you used the value Ja instead of yes in the custom field.
The code needs to correspond to the valeus in the custom field... So it should be:
if(!empty($this-&gt;itemFields) &amp;&amp; $this-&gt;element-&gt;domein=='Ja'){

I've modified it on your view and it's working.

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago -  15 years 4 months ago [\#18536](#18536) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#18536 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

omg, can't believe i overlooked that lol. i thought i was supposed to replace that 'Ja' lol. and the obvious clue was custom_field_column_name.
Also a few more things:

* how come it has to be 'domein' and not 'domeinnaam'. How does it work when the 2 field column names are different. I tried it at first with 2 identical names but it wouldn't save. There has to be some kind of link between the 2 fields that tells joomla that the radio button is specifically for that text field only. What if i created a second one. I'm trying to understand the mechanics about that in the event i want to add a 2nd text box i know what the communal link has to be

* where do i go to resize the template things inside the categories listing &amp; on the final article display. Im mainly talking about that big white area

* is it possible to place restrictions on that newly created field. I need the users to be able to enter any alphabetical text but it has to end with eg: .be on other item's ill need that field to accept any alphabetical text but it has to end with anything BUT eg: .be
Is that possible ?

Sorry about that but thanks for fixing it ![:D](/media/kunena/emoticons/1.png ":D")

Final thing: whats that back end list for. Any special purpose ?

Last edit: 15 years 4 months ago by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile").

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

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

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

15 years 4 months ago [\#19191](#19191) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[Re: Paypal &amp; custom field](/forum/2-general-talk-about-hikashop/18470-paypal-custom-field#19191 "Hey fellas,  Question 1:  I succesfully added a custom field to the article layout. Currently it shows up on every article. I was wondering if it is possible to have a custom field added only to selected articles, or define if it should be added when creating an article ?  Question 2:  As you probably know paypal charges for each transaction, i was wondering if there is a way to add a certain amount (paypal ratio+fixed amount) so that it adds it to the final article price, resulting in the extra cost added covering the charge and the final received amount is the actual total product price and also make it clear that there is an extra cost when using the paypal payment option")*

Anything ?

another reason i'm asking is that if i want to add another custom field i'd need to know how and what the common link should be

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE4NDcwLXBheXBhbC1jdXN0b20tZmllbGQ/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: 1.429 seconds

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

[](#top)
