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

#   Custom fields for product, order, and emails

##

- **[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")**
- [![kentmorrison's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7386-kentmorrison "View kentmorrison's Profile") Topic Author
- [ Offline](/forum/user/7386-kentmorrison)

Less More

- Posts: 22
- Thank you received: 1
-
-

11 years 1 week ago [\#220601](#220601) by [kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")  *[Custom fields for product, order, and emails](/forum/35-orders-management/880458-custom-fields-for-product-order-and-emails#220601 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 46.0.2490.86 m -- Error-message(debug-mod must be tuned on) -- : No error message  We just purchased the Business Edition so that we have the enhanced features to help us with this task.  We are creating a new product, which is a Gift Certificate for an airplane ride. We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.  I would like for the product to have a custom field &quot;Send directly to Gift Recipient ?&quot; and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.  THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient. The order shows the extra fields that I added, but it's rather primitive.  I have created some custom fields and done some testing, but I decided to ask you the best way to do this.  Is it easier to create TWO products, one for &quot;send to buyer&quot; and one for &quot;send to recipient&quot; ? OR is it easier/better to somehow build the IF/THEN logic into the product ?  Please let me know the best way to handle it. --- The custom fields that I have already added: yes&#95;no&#95;send&#95;to&#95;gift&#95;address Send as Gift ? Single Dropdown gift&#95;recipient&#95;firstname Gift First Name Text gift&#95;recipient&#95;lastname Gift Last Name Text gift&#95;city Gift City Text gift&#95;street Gift Street Address Text gift&#95;state Gift State Text gift&#95;post&#95;code Gift Postal Code Text gift&#95;custom&#95;message Gift Greeting/Message Text gift&#95;email&#95;address Gift Email Address -----  Thank you! Kent Morrison")* was created by *[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")*

-- HikaShop version -- : HikaShop Business: 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Chrome 46.0.2490.86 m
-- Error-message(debug-mod must be tuned on) -- : No error message

We just purchased the Business Edition so that we have the enhanced features to help us with this task.

We are creating a new product, which is a Gift Certificate for an airplane ride.
We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.

I would like for the product to have a custom field "Send directly to Gift Recipient ?"
and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.

THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient.
The order shows the extra fields that I added, but it's rather primitive.

I have created some custom fields and done some testing, but I decided to ask you the best way to do this.

Is it easier to create TWO products, one for "send to buyer" and one for "send to recipient" ?
OR is it easier/better to somehow build the IF/THEN logic into the product ?

Please let me know the best way to handle it.
---
The custom fields that I have already added:
yes_no_send_to_gift_address Send as Gift ? Single Dropdown
gift_recipient_firstname Gift First Name Text
gift_recipient_lastname Gift Last Name Text
gift_city Gift City Text
gift_street Gift Street Address Text
gift_state Gift State Text
gift_post_code Gift Postal Code Text
gift_custom_message Gift Greeting/Message Text
gift_email_address Gift Email Address

---

Thank you!
Kent Morrison

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 1 week ago [\#220634](#220634) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom fields for product, order, and emails](/forum/35-orders-management/880458-custom-fields-for-product-order-and-emails#220634 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 46.0.2490.86 m -- Error-message(debug-mod must be tuned on) -- : No error message  We just purchased the Business Edition so that we have the enhanced features to help us with this task.  We are creating a new product, which is a Gift Certificate for an airplane ride. We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.  I would like for the product to have a custom field &quot;Send directly to Gift Recipient ?&quot; and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.  THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient. The order shows the extra fields that I added, but it's rather primitive.  I have created some custom fields and done some testing, but I decided to ask you the best way to do this.  Is it easier to create TWO products, one for &quot;send to buyer&quot; and one for &quot;send to recipient&quot; ? OR is it easier/better to somehow build the IF/THEN logic into the product ?  Please let me know the best way to handle it. --- The custom fields that I have already added: yes&#95;no&#95;send&#95;to&#95;gift&#95;address Send as Gift ? Single Dropdown gift&#95;recipient&#95;firstname Gift First Name Text gift&#95;recipient&#95;lastname Gift Last Name Text gift&#95;city Gift City Text gift&#95;street Gift Street Address Text gift&#95;state Gift State Text gift&#95;post&#95;code Gift Postal Code Text gift&#95;custom&#95;message Gift Greeting/Message Text gift&#95;email&#95;address Gift Email Address -----  Thank you! Kent Morrison")*

Hi,

What I would recommend to do is to use the "display limited to" setting of your custom fields so that the system would only display the recipient address field when necessary.
Also, you might want to create custom fields of the table "order" instead of "address", so that they would not be liked to the address of the customer and would display better in the emails, and order details.

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

- **[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")**
- [![kentmorrison's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7386-kentmorrison "View kentmorrison's Profile") Topic Author
- [ Offline](/forum/user/7386-kentmorrison)

Less More

- Posts: 22
- Thank you received: 1
-
-

11 years 1 week ago [\#220767](#220767) by [kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")  Replied by *[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")* on topic *[Custom fields for product, order, and emails](/forum/35-orders-management/880458-custom-fields-for-product-order-and-emails#220767 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 46.0.2490.86 m -- Error-message(debug-mod must be tuned on) -- : No error message  We just purchased the Business Edition so that we have the enhanced features to help us with this task.  We are creating a new product, which is a Gift Certificate for an airplane ride. We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.  I would like for the product to have a custom field &quot;Send directly to Gift Recipient ?&quot; and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.  THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient. The order shows the extra fields that I added, but it's rather primitive.  I have created some custom fields and done some testing, but I decided to ask you the best way to do this.  Is it easier to create TWO products, one for &quot;send to buyer&quot; and one for &quot;send to recipient&quot; ? OR is it easier/better to somehow build the IF/THEN logic into the product ?  Please let me know the best way to handle it. --- The custom fields that I have already added: yes&#95;no&#95;send&#95;to&#95;gift&#95;address Send as Gift ? Single Dropdown gift&#95;recipient&#95;firstname Gift First Name Text gift&#95;recipient&#95;lastname Gift Last Name Text gift&#95;city Gift City Text gift&#95;street Gift Street Address Text gift&#95;state Gift State Text gift&#95;post&#95;code Gift Postal Code Text gift&#95;custom&#95;message Gift Greeting/Message Text gift&#95;email&#95;address Gift Email Address -----  Thank you! Kent Morrison")*

Thanks for this reply Nicolas.

Please allow me to express my sincere sympathy and wishes for the healing of your Nation and the families of the fallen.
Blessings flow out to comfort and strengthen those affected by the horrible crime.
I was a Ranger in the US Army (many years ago), and it would be my pleasure to end the lives of the ISIS scum that planned and supported this massacre.
Together, our nations will defeat them.

When you say ""display limited to" setting of your custom fields so that the system would only display the recipient address field when necessary.", I'm afraid that I am unable to figure that out...

I have deleted all of my previous custom fields, and I'm re-creating them in the order table.

The "Display limited to" dropdown list first requires me to save the custom field, then it only gives me these choices:
all
Comment
Deliver Date

What shall I use to make these custom forms only appear on these particular Gift Certificate products ?

Thanks very much for your assistance.

Regards,
Kent

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

- **[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")**
- [![kentmorrison's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7386-kentmorrison "View kentmorrison's Profile") Topic Author
- [ Offline](/forum/user/7386-kentmorrison)

Less More

- Posts: 22
- Thank you received: 1
-
-

11 years 1 week ago -  11 years 1 week ago [\#220844](#220844) by [kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")  Replied by *[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")* on topic *[Custom fields for product, order, and emails](/forum/35-orders-management/880458-custom-fields-for-product-order-and-emails#220844 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 46.0.2490.86 m -- Error-message(debug-mod must be tuned on) -- : No error message  We just purchased the Business Edition so that we have the enhanced features to help us with this task.  We are creating a new product, which is a Gift Certificate for an airplane ride. We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.  I would like for the product to have a custom field &quot;Send directly to Gift Recipient ?&quot; and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.  THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient. The order shows the extra fields that I added, but it's rather primitive.  I have created some custom fields and done some testing, but I decided to ask you the best way to do this.  Is it easier to create TWO products, one for &quot;send to buyer&quot; and one for &quot;send to recipient&quot; ? OR is it easier/better to somehow build the IF/THEN logic into the product ?  Please let me know the best way to handle it. --- The custom fields that I have already added: yes&#95;no&#95;send&#95;to&#95;gift&#95;address Send as Gift ? Single Dropdown gift&#95;recipient&#95;firstname Gift First Name Text gift&#95;recipient&#95;lastname Gift Last Name Text gift&#95;city Gift City Text gift&#95;street Gift Street Address Text gift&#95;state Gift State Text gift&#95;post&#95;code Gift Postal Code Text gift&#95;custom&#95;message Gift Greeting/Message Text gift&#95;email&#95;address Gift Email Address -----  Thank you! Kent Morrison")*

PLEASE WAIT before you answer this, please, I'm making some progress I think...

Last edit: 11 years 1 week ago by [kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile"). Reason: I'm making some progress I think...

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

- **[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")**
- [![kentmorrison's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7386-kentmorrison "View kentmorrison's Profile") Topic Author
- [ Offline](/forum/user/7386-kentmorrison)

Less More

- Posts: 22
- Thank you received: 1
-
-

11 years 1 week ago [\#220846](#220846) by [kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")  Replied by *[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")* on topic *[Custom fields for product, order, and emails](/forum/35-orders-management/880458-custom-fields-for-product-order-and-emails#220846 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 46.0.2490.86 m -- Error-message(debug-mod must be tuned on) -- : No error message  We just purchased the Business Edition so that we have the enhanced features to help us with this task.  We are creating a new product, which is a Gift Certificate for an airplane ride. We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.  I would like for the product to have a custom field &quot;Send directly to Gift Recipient ?&quot; and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.  THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient. The order shows the extra fields that I added, but it's rather primitive.  I have created some custom fields and done some testing, but I decided to ask you the best way to do this.  Is it easier to create TWO products, one for &quot;send to buyer&quot; and one for &quot;send to recipient&quot; ? OR is it easier/better to somehow build the IF/THEN logic into the product ?  Please let me know the best way to handle it. --- The custom fields that I have already added: yes&#95;no&#95;send&#95;to&#95;gift&#95;address Send as Gift ? Single Dropdown gift&#95;recipient&#95;firstname Gift First Name Text gift&#95;recipient&#95;lastname Gift Last Name Text gift&#95;city Gift City Text gift&#95;street Gift Street Address Text gift&#95;state Gift State Text gift&#95;post&#95;code Gift Postal Code Text gift&#95;custom&#95;message Gift Greeting/Message Text gift&#95;email&#95;address Gift Email Address -----  Thank you! Kent Morrison")*

NO, what I tried did not work.
I created a custom field in the PRODUCT that is GIftYesNo - and only displayed it in the back end.

Then I tied to set the other ORDER fields to display in front end, but cannot set them to Display Limited To for gift, because the GiftYesNo field is not an option in the Display Limited To list.

I know that I must be missing something very fundamental...

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

- **[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")**
- [![kentmorrison's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7386-kentmorrison "View kentmorrison's Profile") Topic Author
- [ Offline](/forum/user/7386-kentmorrison)

Less More

- Posts: 22
- Thank you received: 1
-
-

11 years 1 week ago [\#220854](#220854) by [kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")  Replied by *[kentmorrison](/forum/user/7386-kentmorrison "View kentmorrison's Profile")* on topic *[Custom fields for product, order, and emails](/forum/35-orders-management/880458-custom-fields-for-product-order-and-emails#220854 "-- HikaShop version -- : HikaShop Business: 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 46.0.2490.86 m -- Error-message(debug-mod must be tuned on) -- : No error message  We just purchased the Business Edition so that we have the enhanced features to help us with this task.  We are creating a new product, which is a Gift Certificate for an airplane ride. We do not need the Serial extension, the gift certificates are created and sent to the recipient by a staff member.  I would like for the product to have a custom field &quot;Send directly to Gift Recipient ?&quot; and if that is answered with a YES, then the custom fields for Gift Recipient Address are shown.  THEN the notification email to ADMIN and to BUYER must show that the product is to be sent to Buyer or to Gift Recipient. The order shows the extra fields that I added, but it's rather primitive.  I have created some custom fields and done some testing, but I decided to ask you the best way to do this.  Is it easier to create TWO products, one for &quot;send to buyer&quot; and one for &quot;send to recipient&quot; ? OR is it easier/better to somehow build the IF/THEN logic into the product ?  Please let me know the best way to handle it. --- The custom fields that I have already added: yes&#95;no&#95;send&#95;to&#95;gift&#95;address Send as Gift ? Single Dropdown gift&#95;recipient&#95;firstname Gift First Name Text gift&#95;recipient&#95;lastname Gift Last Name Text gift&#95;city Gift City Text gift&#95;street Gift Street Address Text gift&#95;state Gift State Text gift&#95;post&#95;code Gift Postal Code Text gift&#95;custom&#95;message Gift Greeting/Message Text gift&#95;email&#95;address Gift Email Address -----  Thank you! Kent Morrison")*

OK - I think that I have it now...

ORDER table fields, BUT with the Gift Certificates category ONLY chosen
THEN each additional field is triggered by a delivery method choice
either email or regular mail
either to buyer or to gift recipient

We will test this and see how the emails and the order details look.

[ b17texasraiders.org/index.php/gift-shop/checkout](http://b17texasraiders.org/index.php/gift-shop/checkout)

Thanks,
Kent

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

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