Product Characteristics - order not being saved.

  • Posts: 291
  • Thank you received: 4
  • Hikashop Business
13 years 3 months ago #3377

Changed the value of the order column clicked apply, order not saved, returned original values.
To workaround corrected values in database.

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 3 months ago #3408

Thank you for that bug report. That is now fixed on our end and will be included in next release.
In the mean time, you can change the code

$query = 'INSERT IGNORE INTO '.hikashop::table('variant').' (variant_characteristic_id,variant_product_id,ordering) VALUES '.implode(',',$insert).';';
to
$query = 'REPLACE INTO '.hikashop::table('variant').' (variant_characteristic_id,variant_product_id,ordering) VALUES '.implode(',',$insert).';';
in the file adminsitrator/components/com_hikashop/classes/product.php near line 350 to fix the problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum