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

#   Can't delete a product using admin

##

- **[brob34](/forum/user/26327-brob34 "View brob34's Profile")**
- [![brob34's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/26327-brob34 "View brob34's Profile") Topic Author
- [ Offline](/forum/user/26327-brob34)

Less More

- Posts: 29
- Thank you received: 2
-
-

8 years 8 months ago [\#289331](#289331) by [brob34](/forum/user/26327-brob34 "View brob34's Profile")  *[Can't delete a product using admin](/forum/25-install-update/894071-cant-delete-a-product-using-admin#289331 "-- HikaShop version -- : 3.3.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 5.6  I have added a product to my Hikashop. I tried to add multiple characteristics to the product listing. I also had many variants to each characteristic. As a result, my database table &quot;product&quot; now has over 300,000 pages in it because of the variants.  I have tried to delete the problem product, but when I try to delete it I get an Internal Server Error and can't delete the product. I also cannot open the product for editing either. When I try to open the product for editing, I get an &quot;Access Forbidden&quot; error.  How can I delete this product and clean up the database so that I don't have so many pages of variants?  I would be glad to share privately admin access to my site if someone can help.")* was created by *[brob34](/forum/user/26327-brob34 "View brob34's Profile")*

-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.4
-- PHP version -- : 5.6

I have added a product to my Hikashop. I tried to add multiple characteristics to the product listing. I also had many variants to each characteristic. As a result, my database table "product" now has over 300,000 pages in it because of the variants.

I have tried to delete the problem product, but when I try to delete it I get an Internal Server Error and can't delete the product. I also cannot open the product for editing either. When I try to open the product for editing, I get an "Access Forbidden" error.

How can I delete this product and clean up the database so that I don't have so many pages of variants?

I would be glad to share privately admin access to my site if someone can help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDA3MS1jYW50LWRlbGV0ZS1hLXByb2R1Y3QtdXNpbmctYWRtaW4/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

8 years 8 months ago [\#289346](#289346) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't delete a product using admin](/forum/25-install-update/894071-cant-delete-a-product-using-admin#289346 "-- HikaShop version -- : 3.3.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 5.6  I have added a product to my Hikashop. I tried to add multiple characteristics to the product listing. I also had many variants to each characteristic. As a result, my database table &quot;product&quot; now has over 300,000 pages in it because of the variants.  I have tried to delete the problem product, but when I try to delete it I get an Internal Server Error and can't delete the product. I also cannot open the product for editing either. When I try to open the product for editing, I get an &quot;Access Forbidden&quot; error.  How can I delete this product and clean up the database so that I don't have so many pages of variants?  I would be glad to share privately admin access to my site if someone can help.")*

Hi,

You can potentially do it with the mass action system in System&gt;Mass actions.
You can create a new one with a filter on the column product_parent_id equal to the id of the product for which you want to delete the variants, and with an action "delete the elements".
When you click on the process button, it will delete the first 500 elements (you can increase that to 2000 and it should still work in the limitation area). Repeat the process button until there are no variants left and you'll then be able to access your product and reconfigure it.
Otherwise, if you want to clear all your products in a fast way, go in your phpmyadmin and empty the tables hikashop_price, hikashop_product, hikashop_variant, hikashop_product_category, hikashop_product_related and hikashop_file.

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

- **[brob34](/forum/user/26327-brob34 "View brob34's Profile")**
- [![brob34's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/26327-brob34 "View brob34's Profile") Topic Author
- [ Offline](/forum/user/26327-brob34)

Less More

- Posts: 29
- Thank you received: 2
-
-

8 years 8 months ago [\#289373](#289373) by [brob34](/forum/user/26327-brob34 "View brob34's Profile")  Replied by *[brob34](/forum/user/26327-brob34 "View brob34's Profile")* on topic *[Can't delete a product using admin](/forum/25-install-update/894071-cant-delete-a-product-using-admin#289373 "-- HikaShop version -- : 3.3.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 5.6  I have added a product to my Hikashop. I tried to add multiple characteristics to the product listing. I also had many variants to each characteristic. As a result, my database table &quot;product&quot; now has over 300,000 pages in it because of the variants.  I have tried to delete the problem product, but when I try to delete it I get an Internal Server Error and can't delete the product. I also cannot open the product for editing either. When I try to open the product for editing, I get an &quot;Access Forbidden&quot; error.  How can I delete this product and clean up the database so that I don't have so many pages of variants?  I would be glad to share privately admin access to my site if someone can help.")*

Cleared the un-needed entries using PHPMyAdmin. Database is cleaned up now and site is functioning properly.

Thanks for the info.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDA3MS1jYW50LWRlbGV0ZS1hLXByb2R1Y3QtdXNpbmctYWRtaW4/dG1wbD1tYXJrZG93bg==) 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.040 seconds

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