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

#   Move custom field on product page

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 1 month ago [\#67053](#67053) by [rossdesigns](/forum/user/7055-rossdesigns "View rossdesigns's Profile")  *[Move custom field on product page](/forum/4-how-to/67053-move-custom-field-on-product-page#67053 "Hi,  I have two requests for help:  (1) I have a 'gift wrapping' product on my site and the customer can leave a message to be added with the gift wrapping. I have done this by defining gift wrapping as a product and a custom field Textarea 'giftmessage'.  I would like to move the text area box on the product page (  www.dingospirit.net/component/hikashop/p...ft-wrapping?Itemid=0 ) to below the 'Add to cart' button.  (2) On my home page I would like the tab of the browser to display 'Dingo Spirit'. It is currently displaying 'Home' because this is the name of the menu item?  Thanks, Geoff")* was created by *[rossdesigns](/forum/user/7055-rossdesigns "View rossdesigns's Profile")*

Hi,

I have two requests for help:

(1) I have a 'gift wrapping' product on my site and the customer can leave a message to be added with the gift wrapping. I have done this by defining gift wrapping as a product and a custom field Textarea 'giftmessage'.

I would like to move the text area box on the product page ([ www.dingospirit.net/component/hikashop/p...ft-wrapping?Itemid=0](http://www.dingospirit.net/component/hikashop/product/21-gift-wrapping?Itemid=0)) to below the 'Add to cart' button.

(2) On my home page I would like the tab of the browser to display 'Dingo Spirit'. It is currently displaying 'Home' because this is the name of the menu item?

Thanks,
Geoff

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 1 month ago [\#67054](#67054) by [rossdesigns](/forum/user/7055-rossdesigns "View rossdesigns's Profile")  Replied by *[rossdesigns](/forum/user/7055-rossdesigns "View rossdesigns's Profile")* on topic *[Re: Move custom field on product page](/forum/4-how-to/67053-move-custom-field-on-product-page#67054 "Hi,  I have two requests for help:  (1) I have a 'gift wrapping' product on my site and the customer can leave a message to be added with the gift wrapping. I have done this by defining gift wrapping as a product and a custom field Textarea 'giftmessage'.  I would like to move the text area box on the product page (  www.dingospirit.net/component/hikashop/p...ft-wrapping?Itemid=0 ) to below the 'Add to cart' button.  (2) On my home page I would like the tab of the browser to display 'Dingo Spirit'. It is currently displaying 'Home' because this is the name of the menu item?  Thanks, Geoff")*

Hi,

I have found the answer to my second question.

Look forward to the answer for my first question.

Thanks,
Geoff

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 1 month ago [\#67130](#67130) by [rossdesigns](/forum/user/7055-rossdesigns "View rossdesigns's Profile")  Replied by *[rossdesigns](/forum/user/7055-rossdesigns "View rossdesigns's Profile")* on topic *[Re: Move custom field on product page](/forum/4-how-to/67053-move-custom-field-on-product-page#67130 "Hi,  I have two requests for help:  (1) I have a 'gift wrapping' product on my site and the customer can leave a message to be added with the gift wrapping. I have done this by defining gift wrapping as a product and a custom field Textarea 'giftmessage'.  I would like to move the text area box on the product page (  www.dingospirit.net/component/hikashop/p...ft-wrapping?Itemid=0 ) to below the 'Add to cart' button.  (2) On my home page I would like the tab of the browser to display 'Dingo Spirit'. It is currently displaying 'Home' because this is the name of the menu item?  Thanks, Geoff")*

Hi,

Can anyone point me to the right file and script to amend to move my custom textarea below the 'add to cart' button on a single product page?

Thanks,
Geoff

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

14 years 1 month ago [\#67495](#67495) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Move custom field on product page](/forum/4-how-to/67053-move-custom-field-on-product-page#67495 "Hi,  I have two requests for help:  (1) I have a 'gift wrapping' product on my site and the customer can leave a message to be added with the gift wrapping. I have done this by defining gift wrapping as a product and a custom field Textarea 'giftmessage'.  I would like to move the text area box on the product page (  www.dingospirit.net/component/hikashop/p...ft-wrapping?Itemid=0 ) to below the 'Add to cart' button.  (2) On my home page I would like the tab of the browser to display 'Dingo Spirit'. It is currently displaying 'Home' because this is the name of the menu item?  Thanks, Geoff")*

Hi,

You can edit the file "show_default" of the view "product" via the menu display-&gt;views and swap the code: Code:

$this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate();

and the code: 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)) { $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } //LAYOUT show_block_custom_item $this-&gt;setLayout('show_block_custom_item'); echo $this-&gt;loadTemplate(); } }

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

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