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

#   Custom fields item just on product page

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80287](#80287) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80287 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")* was created by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")*

I have a category selling gift cards and would like to add a few fields like "Name of the person for the gift card" "their email" "Your Name" " Message to the person" etc. via the custom fields item.

All this at the moment also displays in the products listing in the category which makes it look very messy.
Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?

Thanks

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#80372](#80372) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80372 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Hi,

You can disable the option "Display custom item fields" in your content menu/module in HikaShop &gt; Display &gt; content menu/module.
And set the field to require in your custom field options.

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80424](#80424) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  Replied by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80424 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Thank you Xavier, I had found the option to disable the Display custom item fields but if you do that you can add the gift card to the cart and it doesn't prompt to fill out any required fields and you can buy it without filling in the required information.

The other way round is to turn off the add to cart just in this category (if this is possible???) so they HAVE to go to the product page.
Any ideas?

Thanks

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#80474](#80474) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80474 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Yes you will have to disable the "add to cart" button for this listing, it's possible if you have set a menu or a module to display that.
In the menu/module options, you can disable the "add to cart" button.

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80482](#80482) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  Replied by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80482 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Thank you for your reply.

I am using maximenu and although I created another menu/module for this category it still shows the add to cart as it seems to be taking everything from the maximenu.

I'm not sure how to achieve this

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

13 years 11 months ago [\#80557](#80557) 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 item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80557 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

The option to hide/display the add to cart buttons on the listing will be in a product listing menu/module options screen.
You can see them via the menus Display-&gt;Content menus/modules in HikaShop. Please edit each one and make sure that this option is turned off and that will remove the add to cart buttons on the listings on your website.

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80673](#80673) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  Replied by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80673 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

I have done this but it doesn't turn off the cart option for this category

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80679](#80679) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  Replied by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80679 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Failing this is there a way to change to add to cart button to go to product page instead of adding to cart on all products and I can then change the text to VIEW?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#80705](#80705) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80705 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Hi,

Can you give us a backend access and tell us which category must not have the add to cart button ?

Else you can remove all the add to cart button by editing the view "product / listing_img_title" in HikaShop &gt; Display &gt; Views.

The following user(s) said Thank You: [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80711](#80711) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  Replied by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80711 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Thank you.

I have sent a PM with the login details

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#80786](#80786) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80786 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Hi,

Here is the code I edited in the view "product / listing_img_title": Code:

&lt;?php $prodClass = hikashop_get('class.product'); $prodCats = $prodClass-&gt;getCategories($this-&gt;row-&gt;product_id); $hide = 0; foreach($prodCats as $prodCat){ if($prodCat == '116') $hide = 1; } ?&gt; &lt;!-- ADD TO CART BUTTON AREA --&gt; &lt;?php if($hide == 0){ if($this-&gt;params-&gt;get('add_to_cart') &#124;&#124; $this-&gt;params-&gt;get('add_to_wishlist')){ $this-&gt;setLayout('add_to_cart_listing'); echo $this-&gt;loadTemplate(); } }?&gt; &lt;!-- EO ADD TO CART BUTTON AREA --&gt;

Where '116' is the id of your category.

The following user(s) said Thank You: [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 11 months ago [\#80830](#80830) by [jodancer](/forum/user/11094-jodancer "View jodancer's Profile")  Replied by *[jodancer](/forum/user/11094-jodancer "View jodancer's Profile")* on topic *[Custom fields item just on product page](/forum/4-how-to/76422-custom-fields-item-just-on-product-page#80830 "I have a category selling gift cards and would like to add a few fields like &quot;Name of the person for the gift card&quot; &quot;their email&quot; &quot;Your Name&quot; &quot; Message to the person&quot; etc. via the custom fields item.  All this at the moment also displays in the products listing in the category which makes it look very messy. Is there a way to only have these fields on the product page and if add to cart is selected they must go to the product page to fill in these details?  Thanks")*

Thank you very much

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

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