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

#   Include Text Box for Gift Message in Checkout

##

- **[Ed\_Hika](/forum/user/33922-ed-hika "View Ed&#95;Hika's Profile")**
- [![Ed&#95;Hika's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33922-ed-hika "View Ed&#95;Hika's Profile") Topic Author
- [ Offline](/forum/user/33922-ed-hika)

Less More

- Posts: 109
- Thank you received: 5
-
-

12 years 3 weeks ago [\#178258](#178258) by [Ed\_Hika](/forum/user/33922-ed-hika "View Ed&#95;Hika's Profile")  *[Include Text Box for Gift Message in Checkout](/forum/27-checkout/872797-include-text-box-for-gift-message-in-checkout#178258 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hello, there.  Good evening!  During the checkout process, when the &quot;Use the same address as for billing&quot; checkbox is ticked (for the Shipping Address), I will like to display a textbox for the user to write a message.  I understand that this will be a two-step process: a) create a custom text field for the order table (which I have done) b) display the custom field when the checkbox is ticked (which is what I need help in)  Please could you tell me which file to edit and the example code to include?  Thanks.  Take care!")* was created by *[Ed\_Hika](/forum/user/33922-ed-hika "View Ed&#95;Hika's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6

Hello, there.

Good evening!

During the checkout process, when the "Use the same address as for billing" checkbox is ticked (for the Shipping Address), I will like to display a textbox for the user to write a message.

I understand that this will be a two-step process:
a) create a custom text field for the order table (which I have done)
b) display the custom field when the checkbox is ticked (which is what I need help in)

Please could you tell me which file to edit and the example code to include?

Thanks.

Take care!

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 weeks ago -  12 years 3 weeks ago [\#178290](#178290) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Include Text Box for Gift Message in Checkout](/forum/27-checkout/872797-include-text-box-for-gift-message-in-checkout#178290 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hello, there.  Good evening!  During the checkout process, when the &quot;Use the same address as for billing&quot; checkbox is ticked (for the Shipping Address), I will like to display a textbox for the user to write a message.  I understand that this will be a two-step process: a) create a custom text field for the order table (which I have done) b) display the custom field when the checkbox is ticked (which is what I need help in)  Please could you tell me which file to edit and the example code to include?  Thanks.  Take care!")*

Hello,
To do it you'll have to edit the "Address" file of the "Checkout" view of your front-end template use some JavaScript code, you'll also have to edit these lines : Code:

&lt;label for="same_address"&gt; &lt;input class="hikashop_checkout_shipping_same_address inputbox" &lt;?php echo $checked; ?&gt;type="checkbox" id="same_address" name="same_address" value="yes" alt="Same address" onclick="&lt;?php echo $onclick; ?&gt;" /&gt; &lt;?php echo JText::_('SAME_AS_BILLING');?&gt; &lt;/label&gt;

Last edit: 12 years 3 weeks ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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