Errors when editing characteristics / Variants

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

Notice: Undefined offset: 0 in W:\htdocs\Jonathan\Joomla\administrator\components\com_hikashop\classes\product.php on line 83

Notice: Undefined property: stdClass::$values in W:\htdocs\Jonathan\Joomla\administrator\components\com_hikashop\views\product\tmpl\infovariant.php on line 33

I deleted a characteristic - the dependent variants still exist.
Had to manually delete variant records from database.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
13 years 3 months ago #3431

Hi,

Deleting a characteristic used in products is now something common :)
We will change a bit the code to avoid displaying errors. However, we don't want to delete the variants of the products using that characteristic. It is preferable to let the user delete himself the variants he wants to delete, etc as they are linked to files, images, orders, etc.
Deleting automatically everything which is remotely linked to a characteristic doesn't sound like a good idea :)

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

Time to create page: 0.058 seconds
Powered by Kunena Forum