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

#   customized articles at order entry

##

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 11 months ago [\#222491](#222491) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#222491 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")* was created by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5

Dear,

Il would like to manage articles that can be customized by the client.
When the client add the article to the cart, he should be able to enter personnalized text (like nickname).
This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.

I have the business and multi vendor version of Hikashop.
Is there any plugin to do that?
If I have to write it, what could be the good design of this extension?
Especially, in which table should be recorder the personnlized text?

Regards,

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

10 years 11 months ago [\#222506](#222506) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#222506 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi

You can create a custom field of the table "item" and of the type "text" via the menu Display&gt;Custom fields and that will do that automatically.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 11 months ago [\#223000](#223000) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#223000 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Thank you.
It works fine.
But now, in the product list, we have a button "choose option" which let us enter the text.
Is it possible to change the text of the button "Choose option" to put something like "Enter nickame"?

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

10 years 11 months ago [\#223064](#223064) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#223064 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Sure. You can change any text in HikaShop with a translation override:
[ hikashop.com/download/languages.html#modify](https://hikashop.com/download/languages.html#modify)

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago [\#230721](#230721) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#230721 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

How could I force the client to fill the custom field?

In the configuration of the custom field, I put it as required, I did not put any default value.
Despite this configuration, the client can make an order without fiiling the fied.

You can find enclosed the field configuration page

[ ![Joomla&#95;-&#95;Administration&#95;-&#95;Champ&#95;-&#95;nomenfant&#95;2016-02-20&#95;17-44-12.png](/forum/attachment/29658) ](/forum/attachment/29658 "...0&#95;17-44-12.png")

- [ ![Joomla&#95;-&#95;Administration&#95;-&#95;Champ&#95;-&#95;nomenfant&#95;2016-02-20&#95;17-44-12.png](/forum/attachment/29658) ](/forum/attachment/29658 "...0&#95;17-44-12.png") [ ](/forum/attachment/29658?download=1 "...0&#95;17-44-12.png")

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

10 years 8 months ago [\#230728](#230728) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#230728 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

That should work like that.
If you try with the default template of Joomla, does it work ?
Can you provide a link to the product page with the custom field so that we can see that ?

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago [\#230782](#230782) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#230782 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

I've just put it on a public web server.
You can join it at [ test.debienne.fr](http://test.debienne.fr)
I create a login for you:
- login: hikashop
- pwd: hikashop

If you access to the product details, you can fill the field "Nom Enfant". It has been marked with "*" to show that this field is mandatory.
You are forced to enter something.

BUT, if you click, from the list of products, on the button "Ajouter au panier", the product is added to the basket, and you are not asked to fill the personnalized field.
And unfortunately, you can valid the order without filling the field.

Regards,

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

10 years 8 months ago [\#230839](#230839) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#230839 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

I actually don't see that field at all on the products listing:
[ take.ms/bXVrL](http://take.ms/bXVrL)
It should actually not be possible to see the add to cart button on the listing with a custom item field added to the product if you don't display the custom fields on the listing. So I think it comes from a modification of the view files.

So let me ask again:
If you try with the default template of Joomla, does it work ?
If it does, it would confirm my theory and renaming the folder templates/YOUR_TEMPLATE/html/com_hikashop/product would probably solve the problem.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago [\#230863](#230863) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#230863 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Effectively, from the product list, you don't see the field.
You see the field from the product detail ([ test.debienne.fr/index.php/hikashop-menu...ng/product/7-liste-1](http://test.debienne.fr/index.php/hikashop-menu-for-categories-listing/product/7-liste-1))

I use the protostar template.
In my understanding, it is the default template.
I've the feeling that it work differently a month ago, and I've updated hikashop to version 2.6.1

regards

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

10 years 8 months ago [\#230873](#230873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#230873 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

Can you edit the menu item of that listing page via the Joomla menu manager and check that the "custom item fields" setting there is activated ?

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago [\#231051](#231051) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231051 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

here is the screenshot of the product listing menu item:

[ ![ProductListingMenuItemScreentShot.png](/forum/attachment/29711) ](/forum/attachment/29711 "...creentShot.png")

If you prefer, to help diagnostic, I can give you admin login in a private message.

- [ ![ProductListingMenuItemScreentShot.png](/forum/attachment/29711) ](/forum/attachment/29711 "...creentShot.png") [ ](/forum/attachment/29711?download=1 "...creentShot.png")

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

10 years 8 months ago [\#231054](#231054) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231054 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

Yes, please provide a backend access via our contact form with a link to this thread:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

10 years 8 months ago [\#231240](#231240) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231240 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

Thank you for the access. I think I understand the issue.
Please change the code: Code:

foreach($rows as &amp;$row) { if(!isset($row-&gt;itemFields)) $row-&gt;itemFields = array(); if(!empty($itemField-&gt;field_products) &amp;&amp; in_array((int)$row-&gt;product_id, $itemField-&gt;field_products)) { $row-&gt;itemFields[$itemField-&gt;field_namekey] =&amp; $itemField; continue; } if(!empty($itemField-&gt;field_categories)) { $prod_cats = array_keys($row-&gt;categories); if(empty($item_cats)) { $tmp = array_intersect($itemField-&gt;field_categories, $prod_cats); } else { $tmp = array_intersect($item_cats, $prod_cats); } if(!empty($tmp)) $row-&gt;itemFields[$itemField-&gt;field_namekey] =&amp; $itemField; } }

to: Code:

foreach($rows as &amp;$row) { if(!isset($row-&gt;itemFields)) $row-&gt;itemFields = array(); if(!empty($itemField-&gt;field_products)) { if(in_array((int)$row-&gt;product_id, $itemField-&gt;field_products)) $row-&gt;itemFields[$itemField-&gt;field_namekey] =&amp; $itemField; continue; } if(!empty($itemField-&gt;field_categories)) { $prod_cats = array_keys($row-&gt;categories); if(empty($item_cats)) { // First test for the direct categories $tmp = array_intersect($itemField-&gt;field_categories, $prod_cats); } else { // Second test for the sub categories $tmp = array_intersect($item_cats, $prod_cats); } //no match so don't add the field if(empty($tmp)) continue; } //no category or product restriction, so add the field $row-&gt;itemFields[$itemField-&gt;field_namekey] =&amp; $itemField; }

in the file components/com_hikashop/views/product/view.html.php and that should fix the problem.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago -  10 years 8 months ago [\#231310](#231310) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231310 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Thank you for the fix.
But I have the display of "array(0) { } " like you can see in the capture

[ ![HikashopproductBug.png](/forum/attachment/29767) ](/forum/attachment/29767 "...productBug.png")

regards

- [ ![HikashopproductBug.png](/forum/attachment/29767) ](/forum/attachment/29767 "...productBug.png") [ ](/forum/attachment/29767?download=1 "...productBug.png")

Last edit: 10 years 8 months ago by [Eroc](/forum/user/38237-eroc "View Eroc's Profile").

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

10 years 8 months ago [\#231317](#231317) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231317 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

I had forgotten a debug test on the view. I've removed it. Sorry for that.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago [\#231461](#231461) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231461 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

I'm afraid I'm still able to make an order without filling the field.

Regards

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

10 years 8 months ago [\#231467](#231467) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231467 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

Also change the code: Code:

foreach($item_keys as $k) { if(is_string($itemField-&gt;$k) &amp;&amp; strpos($itemField-&gt;$k, ',') !== false) { $itemField-&gt;$k = explode(',', trim($itemField-&gt;$k, ',')); JArrayHelper::toInteger($itemField-&gt;$k); } else if(!is_array($itemField-&gt;$k) &amp;&amp; !empty($itemField-&gt;$k)) $itemField-&gt;$k = array( (int)$itemField-&gt;$k ); }

to: Code:

foreach($item_keys as $k) { if(is_string($itemField-&gt;$k) &amp;&amp; strpos($itemField-&gt;$k, ',') !== false) { $itemField-&gt;$k = explode(',', trim($itemField-&gt;$k, ',')); JArrayHelper::toInteger($itemField-&gt;$k); } else if(!is_array($itemField-&gt;$k) &amp;&amp; !empty($itemField-&gt;$k) &amp;&amp; is_numeric($itemField-&gt;$k)) $itemField-&gt;$k = array( (int)$itemField-&gt;$k ); else $itemField-&gt;$k = array(); }

in the same file and that should definitely fix the problem.

The following user(s) said Thank You: [Eroc](/forum/user/38237-eroc "View Eroc's Profile")

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

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

Less More

- Posts: 27
- Thank you received: 0
-
- [](http://maliste.debienne.fr)
-

10 years 8 months ago [\#231504](#231504) by [Eroc](/forum/user/38237-eroc "View Eroc's Profile")  Replied by *[Eroc](/forum/user/38237-eroc "View Eroc's Profile")* on topic *[customized articles at order entry](/forum/27-checkout/880801-customized-articles-at-order-entry#231504 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Dear,  Il would like to manage articles that can be customized by the client. When the client add the article to the cart, he should be able to enter personnalized text (like nickname). This text should be recorded, and appears in the confirmation order mail and in the order management process, so that our team can use it to prepare and send the order.  I have the business and multi vendor version of Hikashop. Is there any plugin to do that? If I have to write it, what could be the good design of this extension? Especially, in which table should be recorder the personnlized text?  Regards,")*

Hi,

it works.

Thanks a lot for your very good support.

regards,

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

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