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

#   Impossible to save a product when editing the variant details

##

- **[erix](/forum/user/4328-erix "View erix's Profile")**
- [![erix's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4328.jpg)](/forum/user/4328-erix "View erix's Profile") Topic Author
- [ Offline](/forum/user/4328-erix)

Less More

- Posts: 78
- Thank you received: 5
-
-
-
- [](http://www.agerix.fr)
-

5 years 6 months ago -  5 years 6 months ago [\#332206](#332206) by [erix](/forum/user/4328-erix "View erix's Profile")  *[Impossible to save a product when editing the variant details](/forum/32-content-creation/902492-impossible-to-save-a-product-when-editing-the-variant-details#332206 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits) -- Error-message(debug-mod must be tuned on) -- : 404 View not found &#91;name, type, prefix&#93;: product, 1, productView  Hi, When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video. When I don't touch the variant there's no problem anymore... Thanks in forward for your help. Best regards.")* was created by *[erix](/forum/user/4328-erix "View erix's Profile")*

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.3.27
-- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits)
-- Error-message(debug-mod must be tuned on) -- : 404 View not found [name, type, prefix]: product, 1, productView

Hi,
When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video.
When I don't touch the variant there's no problem anymore...
Thanks in forward for your help.
Best regards.

---

Adishatz, erix
[ www.agerix.fr](http://www.agerix.fr)

- [ ![2021-04-30&#95;14-31-36.jpg](/forum/attachment/52607) ](/forum/attachment/52607 "...0&#95;14-31-36.jpg") [ ](/forum/attachment/52607?download=1 "...0&#95;14-31-36.jpg")

Last edit: 5 years 6 months ago by [erix](/forum/user/4328-erix "View erix's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAyNDkyLWltcG9zc2libGUtdG8tc2F2ZS1hLXByb2R1Y3Qtd2hlbi1lZGl0aW5nLXRoZS12YXJpYW50LWRldGFpbHM/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

5 years 6 months ago [\#332208](#332208) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Impossible to save a product when editing the variant details](/forum/32-content-creation/902492-impossible-to-save-a-product-when-editing-the-variant-details#332208 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits) -- Error-message(debug-mod must be tuned on) -- : 404 View not found &#91;name, type, prefix&#93;: product, 1, productView  Hi, When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video. When I don't touch the variant there's no problem anymore... Thanks in forward for your help. Best regards.")*

Hi,

That's strange. I'm not able to reproduce the issue.
First thing strange is that when I edit a variant of a product on my end and click on the save button of the variant, the variant edit interface appears again, while on your video, that interface just closes.
So I'm wondering if maybe you have a javascript error when you do the saving of the variant, which would then result in the main save breaking for some reason.
Can you check your browser's console log while you do all this to see if you have any errors ?
Otherwise, I think we'll need a backend and FTP access to check on the situation directly to understand what's going on.

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

- **[erix](/forum/user/4328-erix "View erix's Profile")**
- [![erix's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4328.jpg)](/forum/user/4328-erix "View erix's Profile") Topic Author
- [ Offline](/forum/user/4328-erix)

Less More

- Posts: 78
- Thank you received: 5
-
-
-
- [](http://www.agerix.fr)
-

5 years 6 months ago [\#332214](#332214) by [erix](/forum/user/4328-erix "View erix's Profile")  Replied by *[erix](/forum/user/4328-erix "View erix's Profile")* on topic *[Impossible to save a product when editing the variant details](/forum/32-content-creation/902492-impossible-to-save-a-product-when-editing-the-variant-details#332214 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits) -- Error-message(debug-mod must be tuned on) -- : 404 View not found &#91;name, type, prefix&#93;: product, 1, productView  Hi, When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video. When I don't touch the variant there's no problem anymore... Thanks in forward for your help. Best regards.")*

Hey Nicolas,
Thanks for your quick answer. Unfortunately I didn’t notice anything in the JS console even if it’s probably javascript related… I recorded a video to demonstrate that.
It’s even not related to variants, we deleted them all and the problem remains. Something strange happens when an Ajax request is executed on the page before saving…
[ www.dropbox.com/sh/8jtknyakxzixpzw/AAAWG...HO57AWrU31fQqma?dl=0](https://www.dropbox.com/sh/8jtknyakxzixpzw/AAAWGGRzwyHO57AWrU31fQqma?dl=0)
We ceated an access for you on our development server. I send you the details in PM.
Best regards.

---

Adishatz, erix
[ www.agerix.fr](http://www.agerix.fr)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAyNDkyLWltcG9zc2libGUtdG8tc2F2ZS1hLXByb2R1Y3Qtd2hlbi1lZGl0aW5nLXRoZS12YXJpYW50LWRldGFpbHM/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

5 years 6 months ago [\#332232](#332232) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Impossible to save a product when editing the variant details](/forum/32-content-creation/902492-impossible-to-save-a-product-when-editing-the-variant-details#332232 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits) -- Error-message(debug-mod must be tuned on) -- : 404 View not found &#91;name, type, prefix&#93;: product, 1, productView  Hi, When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video. When I don't touch the variant there's no problem anymore... Thanks in forward for your help. Best regards.")*

Hi,

I checked the situation a bit and I think it's linked to some kind of customization on your end.
If you click on the + icon of the prices area, the system will load in AJAX the URL /administrator/index.php?option=com_hikashop&amp;ctrl=product&amp;task=form_price_edit&amp;price_id=0&amp;formkey=price&amp;tmpl=component
You can check the HTML of that URL on your browser and you'll see that there is an extra part added which shouldn't be there usually:
[ i.imgur.com/kJMwfGL.png](https://i.imgur.com/kJMwfGL.png)
It's the whole div with the id resizeModal which is added to pages called with tmpl=component
For example, I get that extra HTML even on the backend homepage:
[ i.imgur.com/5sIxPu8.png](https://i.imgur.com/5sIxPu8.png)
And the big problem with that HTML is that it has a hidden input with the name "task" and the value "formats.createPdf" which overrides the hidden input task of the product edit form.

I would recommend to review the code adding that HTML and add some extra condition to run it only on the page where you need it by checking the option / ctrl / task / view / layout parameters of the URL.

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

- **[erix](/forum/user/4328-erix "View erix's Profile")**
- [![erix's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4328.jpg)](/forum/user/4328-erix "View erix's Profile") Topic Author
- [ Offline](/forum/user/4328-erix)

Less More

- Posts: 78
- Thank you received: 5
-
-
-
- [](http://www.agerix.fr)
-

5 years 6 months ago [\#332261](#332261) by [erix](/forum/user/4328-erix "View erix's Profile")  Replied by *[erix](/forum/user/4328-erix "View erix's Profile")* on topic *[Impossible to save a product when editing the variant details](/forum/32-content-creation/902492-impossible-to-save-a-product-when-editing-the-variant-details#332261 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits) -- Error-message(debug-mod must be tuned on) -- : 404 View not found &#91;name, type, prefix&#93;: product, 1, productView  Hi, When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video. When I don't touch the variant there's no problem anymore... Thanks in forward for your help. Best regards.")*

Very sorry Nicolas it was my mistake indeed. I forgot to reduce the scope of my plugin ![:(](/media/kunena/emoticons/22.png ":(") Thus, it was generating a modal containing a form on every page instead of only the orders list view. Problem is now solved, thanks for your help.
Manu.

---

Adishatz, erix
[ www.agerix.fr](http://www.agerix.fr)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAyNDkyLWltcG9zc2libGUtdG8tc2F2ZS1hLXByb2R1Y3Qtd2hlbi1lZGl0aW5nLXRoZS12YXJpYW50LWRldGFpbHM/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

5 years 6 months ago [\#332262](#332262) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Impossible to save a product when editing the variant details](/forum/32-content-creation/902492-impossible-to-save-a-product-when-editing-the-variant-details#332262 "-- HikaShop version -- : 4.4.2 -- Joomla version -- : 3.9.26 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Firefox developer Edition 88.0b9 (64 bits) -- Error-message(debug-mod must be tuned on) -- : 404 View not found &#91;name, type, prefix&#93;: product, 1, productView  Hi, When trying to edit the variant details of a product (quantity, price), it becomes impossible to save the product. Please see the enclosed video. When I don't touch the variant there's no problem anymore... Thanks in forward for your help. Best regards.")*

No worries !

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

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

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