- Posts: 108
- Thank you received: 6
Problems saving some fields in "Add New Product"
12 years 3 weeks ago #169889
by christofu
Problems saving some fields in "Add New Product" was created by christofu
-- HikaShop version -- : 2.3.2
-- HikaMarket version -- : 1.4.3
-- Joomla version -- : 3.3.3
Hi,
I am having some trouble saving the price & the shipping methods(manual) when you add a new product.
essentially when I save or apply the price disappears & 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
-- HikaMarket version -- : 1.4.3
-- Joomla version -- : 3.3.3
Hi,
I am having some trouble saving the price & the shipping methods(manual) when you add a new product.
essentially when I save or apply the price disappears & 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
Please Log in or Create an account to join the conversation.
12 years 3 weeks ago #169890
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Problems saving some fields in "Add New Product"
Hi,
Please edit the HikaShop plugin "plugins/hikashop/shippingmanual_prices/shippingmanual_prices.php" and replace
By
And
By
And also
By
It should fix the problem in HikaMarket.
Regards,
Please edit the HikaShop plugin "plugins/hikashop/shippingmanual_prices/shippingmanual_prices.php" and replace
Code:
function onAfterProductCreate(&$product) {
return $this->onAfterProductUpdate($product);
}
Code:
function onAfterProductCreate(&$product) {
return $this->onAfterProductUpdate($product, true);
}
And
Code:
function onAfterProductUpdate(&$product) {
Code:
function onAfterProductUpdate(&$product, $create = false) {
And also
Code:
if(!$app->isAdmin()) {
if(isset($formData[$product->product_id]))
$formData = $formData[$product->product_id];
else
$formData = array();
}
Code:
if(!$app->isAdmin()) {
if(isset($formData[$product->product_id]))
$formData = $formData[$product->product_id];
else if(isset($formData[0]) && $create)
$formData = $formData[0];
else
$formData = array();
}
It should fix the problem in HikaMarket.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 3 weeks ago #169909
by christofu
Replied by christofu on topic Problems saving some fields in "Add New Product"
thanks Jerome that worked for shipping:)
Do you have a similar fix for the "price" field?
Do you have a similar fix for the "price" field?
Please Log in or Create an account to join the conversation.
12 years 3 weeks ago #169926
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Problems saving some fields in "Add New Product"
Hi,
I am sorry but I can't reproduce your problem with the product price field.
Regards,
I am sorry but I can't reproduce your problem with the product price field.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 3 weeks ago #170206
by christofu
Replied by christofu on topic Problems saving some fields in "Add New Product"
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 & without a template
no problems adding/saving the price from the backend
can you see on my site with product ID: 69 ?
thanks
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 & 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 or Create an account to join the conversation.
12 years 2 weeks ago #170257
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Problems saving some fields in "Add New Product"
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,
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 & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #170282
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Problems saving some fields in "Add New Product"
Hi,
If you edit the view "productmarket | 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,
If you edit the view "productmarket | 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 & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #170350
by christofu
Replied by christofu on topic Problems saving some fields in "Add New Product"
Hi Jerome,
thanks for the spot - that fixed it!!
much appreciated :woohoo:
thanks for the spot - that fixed it!!
much appreciated :woohoo:
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.243 seconds