- Posts: 2
- Thank you received: 0
Save + New Product Not Working (ver. 2.50)
11 years 3 months ago #205767
by wayne325
Save + New Product Not Working (ver. 2.50) was created by wayne325
-- HikaShop version -- : 2.50
-- Joomla version -- : 3x
-- PHP version -- : 5x
-- Browser(s) name and version -- : Mozilla Firefox
There is not an error message, but I noticed that after adding a new product, entering info then clicking Save + New, nothing happens. The page does not reset to blank for entering a new product. I am using updated Hikashop extensions and updated browser. :ohmy:
-- Joomla version -- : 3x
-- PHP version -- : 5x
-- Browser(s) name and version -- : Mozilla Firefox
There is not an error message, but I noticed that after adding a new product, entering info then clicking Save + New, nothing happens. The page does not reset to blank for entering a new product. I am using updated Hikashop extensions and updated browser. :ohmy:
Please Log in or Create an account to join the conversation.
11 years 3 months ago #205772
by nicolas
Replied by nicolas on topic Save + New Product Not Working (ver. 2.50)
Hi,
Thank you for your feedback.
Change the line:
product_id = hikashop_getCID('product_id');
to:
$product_id = JRequest::getVar( 'cid' );
if(is_array($product_id)) $product_id = (int)reset($product_id);
in the file administrator/components/com_hikashop/views/product/view.html.php and that will fix the problem.
Thank you for your feedback.
Change the line:
product_id = hikashop_getCID('product_id');
to:
$product_id = JRequest::getVar( 'cid' );
if(is_array($product_id)) $product_id = (int)reset($product_id);
in the file administrator/components/com_hikashop/views/product/view.html.php and that will fix the problem.
Please Log in or Create an account to join the conversation.
Time to create page: 0.141 seconds