• Resolved lee-chilli

    (@lee-chilli)


    I’ve got 2 products which were added via the CSV from an old website running woocommerce to a new one.

    When doing a search for their SKU in the admin (For example ProductA, ProductB) no products are visible under the SKUs. If I then move to create these products manually it tells me that the SKU is already being used.

    When checking the database, I can see the SKU is attached to a page ID. So using the functions I delete the page ID, make a new product with the SKU, only for the new product to then have the same issue. If I use a different SKU the product is visible as normal.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Sérgio L. a11n

    (@csnlima)

    Hi @lee-chilli,

    Can you please try to go to WooCommerce > Status > Tools taband select these options:

    • Clear WooCommerce transients (clear Shop/ Product page Cache)
    • Clear expired transients (Clear all expired transients from WordPress)
    • Then, check again if the products can be found or added again.

      If the issue persist, to get a better understanding of your setup, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

      Best,

    Thread Starter lee-chilli

    (@lee-chilli)

    Hi @csnlima

    Thanks for the suggestion, however after attempting this I’m still unable to see or create a product with the SKU. The System report is below:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://business-owtons.digital-dev.co.uk
    Site address (URL): https://business-owtons.digital-dev.co.uk
    WC Version: 6.3.1
    REST API Version: ? 6.3.1
    WC Blocks Version: ? 6.9.0
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.2.1
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.29 (Ubuntu)
    PHP Version: 8.0.18
    PHP Post Max Size: 1 GB
    PHP Time Limit: 3600
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1i
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.36-0ubuntu0.18.04.1
    Max Upload Size: 1 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.3.1
    WC Database Prefix: wp_
    Total Database Size: 8.21MB
    Database Data Size: 5.38MB
    Database Index Size: 2.83MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.17MB + Index: 0.19MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 2.05MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta: Data: 1.52MB + Index: 0.84MB + Engine InnoDB
    wp_posts: Data: 0.27MB + Index: 0.13MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 32
    nav_menu_item: 2
    page: 9
    post: 1
    product: 437
    revision: 7
    shiftr_form: 1
    shop_order: 80
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (7) ###
    
    Advanced Custom Fields PRO: by Delicious Brains – 5.12.1
    Order Delivery Date for WooCommerce (Lite version): by Tyche Softwares – 3.16.1
    Order Export & Order Import for WooCommerce: by WebToffee – 2.2.3
    SVG Support: by Benbodhi – 2.4.2
    WordPress Users & WooCommerce Customers Import Export(BASIC): by WebToffee – 2.2.8
    WC Order PDF Download: by Yagnik Sangani – 1.0.2
    WooCommerce: by Automattic – 6.3.1 (update to version 6.5.1 is available)
    
    ### Inactive Plugins (1) ###
    
    WooCommerce Order Delivery: by Themesquad – 1.8.4
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    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)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #12 - /products-list/
    Basket: #13 - /cart/
    Checkout: #14 - /checkout/
    My account: #15 - /account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Shape Shiftr
    Version: 1.6.1
    Author URL: https://jacksonlewis.co.uk
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: shiftr/woocommerce/cart/cart-totals.php
    shiftr/woocommerce/cart/cart.php
    shiftr/woocommerce/checkout/form-billing.php
    shiftr/woocommerce/checkout/form-coupon.php
    shiftr/woocommerce/checkout/form-shipping.php
    shiftr/woocommerce/checkout/review-order.php
    shiftr/woocommerce/checkout/thankyou.php
    shiftr/woocommerce/emails/email-order-details.php
    shiftr/woocommerce/emails/email-order-items.php
    shiftr/woocommerce/loop/add-to-cart.php
    shiftr/woocommerce/loop/orderby.php
    shiftr/woocommerce/myaccount/dashboard.php
    shiftr/woocommerce/order/order-again.php
    shiftr/woocommerce/order/order-details-item.php
    shiftr/woocommerce/order/order-details.php
    
    ### Action Scheduler ###
    
    Complete: 179
    Oldest: 2022-05-17 07:51:01 +0000
    Newest: 2022-05-31 07:50:39 +0000
    
    Pending: 2
    Oldest: -0001-11-30 00:00:00 +0000
    Newest: 2022-05-31 07:51:05 +0000
    
    ### Status report information ###
    
    Generated at: 2022-05-31 07:51:13 +00:00
    

    Hello,

    As a first step, you will want to update WooCommerce, be sure to update your WooCommerce https://woocommerce.com/document/how-to-update-woocommerce/, and the database under WooCommerce > status > tools > update database. And also in the same section do a click over Verify database.

    Then be sure to run a conflict test, you can follow these steps:

    If the issue is not present at this point, it means there was a conflict, and you can reactivate the theme or plugins one by one (and check again each time after each reactivation) until you find the cause of the issue, You can find a more detailed explanation on how to do a conflict test here.

    Let us know if this worked.

    We haven’t heard back from you in a while, (I think that at this point you have been able to find a solution) so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Products not appearing in admin/frontend but in database’ is closed to new replies.