Errors when editing characteristics / Variants
- brainforge
-
Topic Author
- Offline
Less
More
15 years 9 months ago #3376
by brainforge
Had to manually delete variant records from database.
Errors when editing characteristics / Variants was created by brainforge
Notice: Undefined offset: 0 in W:\htdocs\Jonathan\Joomla\administrator\components\com_hikashop\classes\product.php on line 83
I deleted a characteristic - the dependent variants still exist.Notice: Undefined property: stdClass::$values in W:\htdocs\Jonathan\Joomla\administrator\components\com_hikashop\views\product\tmpl\infovariant.php on line 33
Had to manually delete variant records from database.
Please Log in or Create an account to join the conversation.
15 years 9 months ago #3431
by nicolas
Replied by nicolas on topic Re: Errors when editing characteristics / Variants
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
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.130 seconds