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

#   Problems saving some fields in "Add New Product"

##

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 2 months ago [\#169889](#169889) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#169889 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")* was created by *[christofu](/forum/user/31338-christofu "View christofu's Profile")*

-- HikaShop version -- : 2.3.2
-- HikaMarket version -- : 1.4.3
-- Joomla version -- : 3.3.3

Hi,
I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.

essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?

I had a look at [ www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html](http://www.hikashop.com/forum/22-market-bug-report/869358-can-t-save-shipping-method-in-front-end.html) and the version I have already has this fix applied
thanks

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

12 years 2 months ago [\#169890](#169890) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#169890 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

Hi,

Please edit the HikaShop plugin "plugins/hikashop/shippingmanual_prices/shippingmanual_prices.php" and replace Code:

function onAfterProductCreate(&amp;$product) { return $this-&gt;onAfterProductUpdate($product); }

By Code:

function onAfterProductCreate(&amp;$product) { return $this-&gt;onAfterProductUpdate($product, true); }

And Code:

function onAfterProductUpdate(&amp;$product) {

By Code:

function onAfterProductUpdate(&amp;$product, $create = false) {

And also Code:

if(!$app-&gt;isAdmin()) { if(isset($formData[$product-&gt;product_id])) $formData = $formData[$product-&gt;product_id]; else $formData = array(); }

By Code:

if(!$app-&gt;isAdmin()) { if(isset($formData[$product-&gt;product_id])) $formData = $formData[$product-&gt;product_id]; else if(isset($formData[0]) &amp;&amp; $create) $formData = $formData[0]; else $formData = array(); }

It should fix the problem in HikaMarket.

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 2 months ago [\#169909](#169909) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#169909 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

thanks Jerome that worked for shipping:)

Do you have a similar fix for the "price" field?

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

12 years 2 months ago [\#169926](#169926) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#169926 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

Hi,

I am sorry but I can't reproduce your problem with the product price field.

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 2 months ago [\#170206](#170206) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#170206 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

Hi Jerome,

I have been re-testing the product price issue and it is still occurring when trying to add a price to a new product or change the price of an existing product

price field is available for editing in the ACL
It occurs for both products created with &amp; without a template
no problems adding/saving the price from the backend

can you see on my site with product ID: 69 ?

thanks

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

12 years 2 months ago [\#170257](#170257) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#170257 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

Hi,

No, I can't ; I don't have the access to see that product in your front-end.
And I'm still not able to reproduce the problem in my local website or in the demo website.

Regards,

---

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

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

12 years 2 months ago [\#170282](#170282) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#170282 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

Hi,

If you edit the view "productmarket &#124; form_price" in order to remove the price without tax but by removing the input field and not using the HikaMarket configuration ; I can say that, your override won't work correctly.
HikaMarket likes HikaShop needs the price without tax to store it in the database ; if you remove the field, it will simply not work.

So please remove your override and use the HikaMarket features ; like the ACL on the "product / edit / prices / ..."

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 2 months ago [\#170350](#170350) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[Problems saving some fields in "Add New Product"](/forum/22-market-bug-report/870800-problems-saving-some-fields-in-add-new-product#170350 "-- HikaShop version -- : 2.3.2 -- HikaMarket version -- : 1.4.3 -- Joomla version -- : 3.3.3  Hi, I am having some trouble saving the price &amp; the shipping methods(manual) when you add a new product.  essentially when I save or apply the price disappears &amp; the selected shipping disappears. If I reset the value it often saves it on the second time around?  I had a look at   www.hikashop.com/forum/22-market-bug-rep...od-in-front-end.html  and the version I have already has this fix applied thanks")*

Hi Jerome,

thanks for the spot - that fixed it!!

much appreciated :woohoo:

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

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