Support » Plugin: WooCommerce » Can’t Delete Category Product

  • Resolved barila26

    (@barila26)


    Hello.
    I have an uncategorized-category in my products category that came out from nowhere. It has no delete option. How can i delete that category?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Do you have some plugins which might be conflicting with it?

    Could you try disabling all plugins except for WooCommerce, and then try to delete the category product?

    Thread Starter barila26

    (@barila26)

    I tried to disable all the plugins but that category is still there and can not be deleted. It has no delete option.

    Could post a screenshot of your dashboard, and paste a copy of your site’s System Status? You can find it via WooCommerce > Status.

    Thread Starter barila26

    (@barila26)

    
    ### WordPress Environment ###
    
    Home URL: https://www.kafferoma.ro
    Site URL: https://www.kafferoma.ro
    WC Version: 3.2.6
    Log Directory Writable: ✔
    WP Version: 4.9.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: ro_RO
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.10 (Debian)
    PHP Version: 7.0.27-1~dotdeb+8.1
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3500
    PHP Max Input Vars: 2500
    cURL Version: 7.38.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.38
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Serverul tău nu are clasa SoapClient activată - unele module gateway ce folosesc SOAP s-ar putea să nu funcționeze conform așteptărilor.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.2.6
    WC Database Prefix: wp_
    Dimensiune totală bază de date: 37.91MB
    Dimensiune date bază de date: 29.73MB
    Dimensiune index bază de date: 8.18MB
    wp_woocommerce_sessions: Data: 11.02MB + Index: 0.08MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.17MB + Index: 0.06MB
    wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.72MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_atum_order_items: Data: 0.02MB + Index: 0.02MB
    wp_cart_notices: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.44MB + Index: 0.50MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_optins: Data: 0.02MB + Index: 0.03MB
    wp_optin_meta: Data: 0.14MB + Index: 0.03MB
    wp_options: Data: 4.06MB + Index: 0.08MB
    wp_postmeta: Data: 4.34MB + Index: 4.88MB
    wp_posts: Data: 5.47MB + Index: 0.36MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.09MB + Index: 0.05MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_ultimatetables: Data: 0.02MB + Index: 0.00MB
    wp_usermeta: Data: 1.47MB + Index: 0.48MB
    wp_users: Data: 0.05MB + Index: 0.05MB
    wp_vtprd_purchase_log: Data: 0.02MB + Index: 0.02MB
    wp_vtprd_purchase_log_product: Data: 0.02MB + Index: 0.02MB
    wp_vtprd_purchase_log_product_rule: Data: 0.02MB + Index: 0.02MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_points_rewards_user_points: Data: 0.02MB + Index: 0.02MB
    wp_wc_points_rewards_user_points_log: Data: 0.02MB + Index: 0.05MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_wfBadLeechers: Data: 0.02MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB
    wp_wfBlocks: Data: 0.02MB + Index: 0.02MB
    wp_wfBlocksAdv: Data: 0.02MB + Index: 0.00MB
    wp_wfConfig: Data: 0.02MB + Index: 0.00MB
    wp_wfCrawlers: Data: 0.02MB + Index: 0.00MB
    wp_wfFileMods: Data: 0.02MB + Index: 0.00MB
    wp_wfHits: Data: 0.02MB + Index: 0.03MB
    wp_wfHoover: Data: 0.02MB + Index: 0.02MB
    wp_wfIssues: Data: 0.02MB + Index: 0.00MB
    wp_wfLeechers: Data: 0.02MB + Index: 0.00MB
    wp_wfLockedOut: Data: 0.02MB + Index: 0.00MB
    wp_wfLocs: Data: 0.02MB + Index: 0.00MB
    wp_wfLogins: Data: 0.02MB + Index: 0.02MB
    wp_wfNet404s: Data: 0.02MB + Index: 0.02MB
    wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB
    wp_wfScanners: Data: 0.02MB + Index: 0.00MB
    wp_wfStatus: Data: 0.02MB + Index: 0.03MB
    wp_wfThrottleLog: Data: 0.02MB + Index: 0.02MB
    wp_wfVulnScanners: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 485
    customize_changeset: 61
    nav_menu_item: 49
    page: 13
    post: 3
    product: 233
    quantity-rule: 2
    revision: 659
    shop_coupon: 2
    shop_order: 449
    specs-table: 1
    woo_discount: 1
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (15) ###
    
    All In One SEO Pack: cu Michael Torbert – 2.4.4.1
    Checkout Manager For Woocommerce: cu phoeniixx – 1.2.2 – Netestat cu versiunea activă a WooCommerce
    Formular de contact 7: cu Takayuki Miyoshi – 4.9.2
    Fast Velocity Minify: cu Raul Peixoto – 2.2.6
    GetBowtied Tools: cu GetBowtied – 2.3.2
    WPBakery Visual Composer: cu Michael M - WPBakery.com – 5.0
    mobilPay Card Gateway for WooCommerce: cu Santiago Interactive – 1.0.1 – Netestat cu versiunea activă a WooCommerce
    PayPal Currency Converter PRO for WooCommerce: cu Intelligent-IT.asia – 2.2.1 Multisite – Netestat cu versiunea activă a WooCommerce
    WooCommerce Permalink Manager: cu premmerce – 1.1.2
    WooCommerce Email Customizer - kingstheme.com: cu cxThemes – 3.16 – Netestat cu versiunea activă a WooCommerce
    WooCommerce Google Analytics Integration: cu WooCommerce – 1.4.3 – Netestat cu versiunea activă a WooCommerce
    WooCommerce: cu Automattic – 3.2.6
    WP File Manager: cu mndpsingh287 – 1.9
    WP Super Cache: cu Automattic – 1.5.9
    Custom Product Tabs for WooCommerce: cu YIKES
    Inc. – 1.6.4
    
    Zendesk Chat Widget: cu Zendesk – 1.4.12
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: RON (lei)
    Currency Position: right_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: bundle (bundle)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    wcpb (wcpb)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Bază magazin: #4 - /magazin/
    Coș: #5 - /cos-cumparaturi/
    Plasează Comanda: #6 - /finalizare-comanda/
    Contul meu: #7 - /contul-meu/
    Termeni și condiții: #507 - /termeni-si-conditi/
    
    ### Theme ###
    
    Name: Shopkeeper
    Version: 2.4.2
    Author URL: https://www.getbowtied.com/
    Child Theme: ❌ – Dacă modifici WooCommerce într-o temă părinte pe care nu ai construit-o personal recomandăm folosirea unei teme copil. Vezi: Cum creezi o temă copil
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: shopkeeper/woocommerce/archive-product.php
    shopkeeper/woocommerce/cart/cart-empty.php
    shopkeeper/woocommerce/cart/mini-cart.php
    shopkeeper/woocommerce/checkout/form-coupon.php
    shopkeeper/woocommerce/checkout/form-login.php
    shopkeeper/woocommerce/content-product.php
    shopkeeper/woocommerce/content-product_cat.php
    shopkeeper/woocommerce/content-single-product.php
    shopkeeper/woocommerce/global/quantity-input.php
    shopkeeper/woocommerce/global/sidebar.php
    shopkeeper/woocommerce/global/wrapper-end.php
    shopkeeper/woocommerce/global/wrapper-start.php
    shopkeeper/woocommerce/loop/loop-end.php
    shopkeeper/woocommerce/loop/loop-start.php
    shopkeeper/woocommerce/loop/no-products-found.php
    shopkeeper/woocommerce/myaccount/form-login.php
    shopkeeper/woocommerce/myaccount/my-downloads.php
    shopkeeper/woocommerce/order/form-tracking.php
    shopkeeper/woocommerce/single-product/product-image.php
    shopkeeper/woocommerce/single-product/product-thumbnails.php
    shopkeeper/woocommerce/single-product/tabs/tabs.php
    shopkeeper/woocommerce/single-product.php
    
    

    And the image with the category i can’t delete :
    https://pasteboard.co/H3VJeL3.jpg

    For the moment i renamed that category and i had tu use it but it can not be arranged . Is allways the first one, there in the top.

    • This reply was modified 3 years, 1 month ago by Marius L. J..
    • This reply was modified 3 years, 1 month ago by Marius L. J.. Reason: Fixed markup
    • This reply was modified 3 years, 1 month ago by Marius L. J..
    gstar

    (@gstar)

    I understand uncategorized is default, but how can we change another category to default so we can delete this one?

    zaphodbeeblebrox01

    (@zaphodbeeblebrox01)

    Hi,
    i’ve got the same problem – there is a default category that I can’t delete and also can’t move in position. For me this appeared with the last update (3.2.6).

    I’ve tried deactivating all plugins (except woocommerce) and also the theme – still not possible to delete or move.

    I also can’t find a way to make another category the default one.
    If anyone can point me in the right direction here I’d really appreciate it.

    Thx

    gstar

    (@gstar)

    Solved by renaming this category and getting rid of another one I had. Then moving the relevant products into this.

    Thread Starter barila26

    (@barila26)

    Me too. And i did renamed the first one i have because is stays always on top. But i think that this is not a solution. I did this on version 3.26, and when i updated to 3.3 that catogory showed up again. Every time you update woocommerce you have to do that job, to move products to that category 🙁

    zaphodbeeblebrox01

    (@zaphodbeeblebrox01)

    Funny thing is that I couldn’t find anything in the database that marks this category as the default one. it looks as any other product-category but in the admin it is not possible to delete or reorder …

    My solution now was the same as barila26:
    I renamed it to the same name as the first category. Then moved all subcategories from the original first category to this one. Then I deleted the original first category.

    It works now but I am still interested if there is a way to set a different default category – if someone knows how to do this 😉

    Thread Starter barila26

    (@barila26)

    It works until you update woocomerce. You will see that after the update that category can be deleted, but another category unnamed shows up again. And you have to do that work again.

    zaphodbeeblebrox01

    (@zaphodbeeblebrox01)

    k, just updated to WordPress 4.9.4. and WooCommerce 3.3.1. and the “Uncategorized” Category is back ;(
    But this time I am at least able to move it’s position.

    Thread Starter barila26

    (@barila26)

    Good for you. I’m not able to move it. I just did all that work again after update.:(

    Plugin Support Dustin Hartzler

    (@dustinhartzler)

    Automattic Happiness Engineer

    This uncategorized category can not be deleted; it’s where new products will go if you don’t give them a category. You can rename it or hide it from frontend. If it’s empty, in most cases it will be hidden.

    This is a pain in the arse and WooCommerce should address it as it’s causing problems for thousands of shop owners.

    For my part, I had the same issue and solved it as follows:

    • In WooCommerce, go into Products > Categories and put your mouse over the “uncategorized” category to get its ID from the underlying URL (in my case this was 58)
    • Add a Custom CSS snippet as follows:
      .cat-item-58 {display:none}

    Job done. Doesn’t matter what happens from now on because the uncategorized category will always retain the same ID. That’s why this probably works better than removing this category from the sql which might always be re-created (with a different number) by another WC update.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Can’t Delete Category Product’ is closed to new replies.