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

#   Product edit issues

##

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago [\#195406](#195406) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  *[Product edit issues](/forum/22-market-bug-report/875792-product-edit-issues#195406 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16  Hi, Jerome  A fiew more things, concerning product edit form in frontend:  1. Characteristics are added via ajax and are visible but are not being saved on form submission. If added by the backend they are visible in the frontend 2. Related products and options are not visible in the frontend after form submission, although they exist in DB  I switched off JoomSEF extension for HikaMarket in order to be sure it doesn't cause the bug, but no change happened. If you need access you may use credentials that I sent you several days ago for the category tree problem.  Regards!")* was created by *[filiar](/forum/user/33070-filiar "View filiar's Profile")*

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.16

Hi, Jerome

A fiew more things, concerning product edit form in frontend:

1. Characteristics are added via ajax and are visible but are not being saved on form submission. If added by the backend they are visible in the frontend
2. Related products and options are not visible in the frontend after form submission, although they exist in DB

I switched off JoomSEF extension for HikaMarket in order to be sure it doesn't cause the bug, but no change happened.
If you need access you may use credentials that I sent you several days ago for the category tree problem.

Regards!

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#195410](#195410) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product edit issues](/forum/22-market-bug-report/875792-product-edit-issues#195410 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16  Hi, Jerome  A fiew more things, concerning product edit form in frontend:  1. Characteristics are added via ajax and are visible but are not being saved on form submission. If added by the backend they are visible in the frontend 2. Related products and options are not visible in the frontend after form submission, although they exist in DB  I switched off JoomSEF extension for HikaMarket in order to be sure it doesn't cause the bug, but no change happened. If you need access you may use credentials that I sent you several days ago for the category tree problem.  Regards!")*

Hi,

1. What part of the characteristic ? The global characteristic or the values ?
When you edit a characteristic or when you create a new one ?
Please provide a process so I will be able to reproduce it in my local website.

2. It is an issue with the new "product namebox".
Please edit the file "administrator/components/com_hikamarket/classes/product.php" and replace Code:

if(!empty($value)) { if(!is_array($value)) $value = array($value);

By Code:

if(!empty($value)) { if(!is_array($value)) $value = array($value); if(is_object(reset($value))) { $values = array(); foreach($value as $v) { $values[] = (int)$v-&gt;product_id; } $value = $values; }

It will handle objects as values for the getNameboxData function.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago [\#195414](#195414) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[Product edit issues](/forum/22-market-bug-report/875792-product-edit-issues#195414 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16  Hi, Jerome  A fiew more things, concerning product edit form in frontend:  1. Characteristics are added via ajax and are visible but are not being saved on form submission. If added by the backend they are visible in the frontend 2. Related products and options are not visible in the frontend after form submission, although they exist in DB  I switched off JoomSEF extension for HikaMarket in order to be sure it doesn't cause the bug, but no change happened. If you need access you may use credentials that I sent you several days ago for the category tree problem.  Regards!")*

Hi, Jerome.

It is about the global characteristics and is the same for the add and the edit process.
If you add them in the backend they are present in the frontend, but none of them are present if added from the frontend.

The process is:

1. In product edit form (frontend) new characteristic is added by ajax
2. It appears in the grid as expected - bellow the existing ones (if any)
3. When you submit the form the newly created characteristic(s) are no longer present. Only the already existing ones (added by the backend) are available.

No problems with the values for the existing characteristics.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#195428](#195428) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product edit issues](/forum/22-market-bug-report/875792-product-edit-issues#195428 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16  Hi, Jerome  A fiew more things, concerning product edit form in frontend:  1. Characteristics are added via ajax and are visible but are not being saved on form submission. If added by the backend they are visible in the frontend 2. Related products and options are not visible in the frontend after form submission, although they exist in DB  I switched off JoomSEF extension for HikaMarket in order to be sure it doesn't cause the bug, but no change happened. If you need access you may use credentials that I sent you several days ago for the category tree problem.  Regards!")*

Hi,

I didn't understand that the issue was when you edited a product ; I though it was when editing a characteristic.
I'm currently performing some tests and I already fix an issue with the "search" in the product edition ; I also reproduce the issue when creating a new value for a characteristic but I'm still debugging it.

I think that I will release a new version (HikaMarket 1.6.2) ; it affect several files and there are also some little modifications in the javascript (specially for the namebox javascript lib).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.074 seconds

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