[Skip to main content](#vessel-content)

#   Errors when editing characteristics / Variants

##

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 11 months ago [\#3376](#3376) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  *[Errors when editing characteristics / Variants](/forum/3-bug-report/3376-errors-when-editing-characteristics-variants#3376 "I deleted a characteristic - the dependent variants still exist. Had to manually delete variant records from database.")* was created by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")*

> 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMzc2LWVycm9ycy13aGVuLWVkaXRpbmctY2hhcmFjdGVyaXN0aWNzLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 11 months ago [\#3431](#3431) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Errors when editing characteristics / Variants](/forum/3-bug-report/3376-errors-when-editing-characteristics-variants#3431 "I deleted a characteristic - the dependent variants still exist. Had to manually delete variant records from database.")*

Hi,

Deleting a characteristic used in products is now something common ![:)](/media/kunena/emoticons/3.png ":)")
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 ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMzc2LWVycm9ycy13aGVuLWVkaXRpbmctY2hhcmFjdGVyaXN0aWNzLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
