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

#   Cart Question

##

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile") Topic Author
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 7 months ago [\#93175](#93175) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93175 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")* was created by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")*

Just installed Business version.

I created custom fields and was wondering how to NOT have them appear in the shopping cart module.

Thanks
aheng

- [ ![screenshot4cart.jpg](/forum/attachment/8937) ](/forum/attachment/8937 "...nshot4cart.jpg") [ ](/forum/attachment/8937?download=1 "...nshot4cart.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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
-
-
-

13 years 7 months ago [\#93241](#93241) 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 *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93241 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")*

Hi aheng,

I think that you'll probably find your answer [ there](http://www.hikashop.com/fr/forum/4-how-to/49479-cart-module-display-custom-field.html) :

> If you want to remove the display of the custom fields on the cart during the checkout you will need to add that CSS:
>
> .hikashop\_cart\_product\_custom\_item\_fields{ display : none; }

Hope this will help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile") Topic Author
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 7 months ago [\#93296](#93296) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  Replied by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")* on topic *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93296 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")*

Hi, I added this to the frontend CSS as well as my own template css and the custom fields still appear. Please advise. Thanks

- [ ![frontend&#95;custom&#95;css.jpg](/forum/attachment/8953) ](/forum/attachment/8953 "...custom&#95;css.jpg") [ ](/forum/attachment/8953?download=1 "...custom&#95;css.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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 7 months ago [\#93383](#93383) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93383 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")*

Hi,

You can edit the view "product / cart" and comment/remove the parts concerning the custom_main and custom_item.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile") Topic Author
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 7 months ago [\#93434](#93434) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  Replied by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")* on topic *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93434 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")*

Ok so I discovered I had to add each custom field name created to "no display" to the css file to make it work. No need to edit the PHP display file mentioned above.

The following user(s) said Thank You: [Xavier](/forum/user/4105-xavier "View Xavier's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile") Topic Author
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 7 months ago [\#93672](#93672) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  Replied by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")* on topic *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93672 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")*

Hi, another question. Can the custom fields also appear on the checkout cart page under each of the products? See attached.
Also how to show the custom fields in the confirmation email sent to customers.
Thanks

- [ ![cartcheckout.jpg](/forum/attachment/9006) ](/forum/attachment/9006 "cartcheckout.jpg") [ ](/forum/attachment/9006?download=1 "cartcheckout.jpg")
- [ ![cartemail.jpg](/forum/attachment/9007) ](/forum/attachment/9007 "cartemail.jpg") [ ](/forum/attachment/9007?download=1 "cartemail.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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 7 months ago [\#93859](#93859) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cart Question](/forum/2-general-talk-about-hikashop/78992-cart-question#93859 "Just installed Business version.  I created custom fields and was wondering how to NOT have them appear in the shopping cart module.  Thanks aheng")*

By default it should be displayed on cart of the checkout thanks to this code: Code:

if(hikashop_level(2) &amp;&amp; !empty($this-&gt;extraFields['item'])){ foreach($this-&gt;extraFields['item'] as $field){ $namekey = $field-&gt;field_namekey; if(empty($row-&gt;$namekey)) continue; echo '&lt;p class="hikashop_cart_item_'.$namekey.'"&gt;'.$this-&gt;fieldsClass-&gt;getFieldName($field).': '.$this-&gt;fieldsClass-&gt;show($field,$row-&gt;$namekey).'&lt;/p&gt;'; } }

In the view "checkout / cart".

And in the email thanks to this code: Code:

if(!empty($itemFields)){ foreach($itemFields as $field){ $namekey = $field-&gt;field_namekey; if(empty($item-&gt;$namekey)) continue; echo '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey).'&lt;/p&gt;'; } }

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4OTkyLWNhcnQtcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.075 seconds

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

[](#top)
