1. Home
  2. Knowledge Base
  3. WooCommerce Wholesale Prices Premium
  4. Product Visibility
  5. How to fix broken product visibility after product importing
  1. Home
  2. Knowledge Base
  3. Known Compatibility Issues
  4. How to fix broken product visibility after product importing

How to fix broken product visibility after product importing

If your imported products are invisible to wholesale customers, showing to the wrong customers, or simply not respecting the visibility rules you’ve configured, this article is for you. It explains why importing can break product visibility and walks you through the one-click tool that fixes it, so your wholesale customers see exactly the products you intend.

Symptom, cause, and fix at a glance

  • Symptom: After an import or a bulk database change, products are invisible to wholesale customers, show to the wrong customers, or don’t follow your visibility settings.
  • Why it happens: When you use a third-party importing tool or insert products directly into the database, WooCommerce’s standard save process can be bypassed. WooCommerce Wholesale Prices Premium relies on product visibility meta data, written when a product is saved, to control which products your wholesale customers can see. If that save process is bypassed during import, the visibility meta can be missing or empty.
  • Fix: Run the built-in Re-Initialize Product Visibility Meta tool. It fills in missing or empty visibility meta and rebuilds the wholesale-price flags your products rely on, without touching any of your settings. The steps are below.

Requirements

  • WooCommerce Wholesale Prices Premium installed and active.

Re-initialize product visibility meta

  1. Go to Wholesale → Settings → Help.
  2. Under the Help Options section, find the Product Visibility Meta field.
  3. Click Re-Initialize Product Visibility Meta.
Re-Initialize Product Visibility Meta button in the Help tab of WooCommerce Wholesale Prices Premium settings

The plugin fills in missing or empty visibility meta and rebuilds the wholesale-price flags your products rely on across all your products, including simple, variable, grouped, and bundled products. It does not overwrite valid visibility values you already have. Once the process completes, your product visibility settings will be applied correctly to all affected products.

When to use this tool

  • After importing products with a third-party tool such as WP All Import or the WooCommerce CSV importer.
  • After manually inserting or updating products directly in the database.
  • After using a bulk migration or management plugin that doesn’t trigger the standard WordPress save process.
  • Any time wholesale customers can’t see products, or see products they shouldn’t, despite your visibility settings being correctly configured.

Frequently asked questions

What does Re-Initialize Product Visibility Meta actually do?

It checks your products and fills in the visibility meta data that is missing or empty, then rebuilds the wholesale-price flags WooCommerce Wholesale Prices Premium uses to decide whether a product should be visible to wholesale customers. It works across all your products, including simple, variable, grouped, and bundled products. It doesn’t change your visibility settings or overwrite valid values you already have. It just ensures the underlying data accurately reflects your settings.

Will this change any of my wholesale pricing or visibility settings?

No. Re-initializing only fills in missing or empty meta data and rebuilds the flags used to enforce your existing settings. Your wholesale prices, visibility rules, and role configurations are not modified.

How long does the process take?

It depends on the size of your product catalog. The tool runs as a one-time action the moment you click the button, so it works through your catalog in a single pass rather than queuing a background job. For most stores it completes in a few seconds. Very large catalogs with thousands of products can take a while to finish. The button shows a spinner while it’s working, so wait for it to finish before navigating away.

Can I run this while my store is live?

Yes. The process is safe to run on a live store. It runs once when you click the button and only fills in or updates meta data. It doesn’t take products offline or affect the checkout process for active orders. On a very large catalog it may take a little longer to finish, so give it time and wait for the spinner.

I clicked the button but products still aren’t showing correctly. What should I check?

First, clear any page or full-page cache, since a caching plugin or CDN may be serving a stale version of the page. Next, if you’re testing with a specific customer account, log that customer out and back in so their session reflects the updated visibility. If the issue persists, confirm that the product’s visibility settings are configured correctly under the product itself, and that the customer is assigned the correct wholesale role.

Do I need to run this after every import, and what about “WooCommerce-compatible” import tools?

Only if your import tool doesn’t trigger the standard WordPress save process. Some tools call the standard save functions correctly, so visibility meta is written as expected and you don’t need the button, even if the tool advertises itself as “WooCommerce-compatible.” Other tools bypass WordPress hooks for performance reasons, which is when visibility can break. The rule of thumb: if products appear correctly after import, you don’t need to run it. If visibility looks wrong, running re-initialization is the quickest fix, and it’s safe to run whenever you’re in doubt.

Does this affect product categories, tags, or pricing?

No. The tool only fills in or updates product visibility meta data. Category assignments, tags, attributes, wholesale prices, and all other product data are untouched.

Help & support

We have a dedicated support team for Wholesale Suite who knows our products, WooCommerce, and the industry very well. You’re welcome to make use of their expertise at any time, worldwide.

If you are an existing customer please go to the support ticket request form and send us a message.

If you are a free plugin user, please send us a support request on the forum. We actively monitor the WordPress.org support forums for the free plugin and help our users there as best as we can.

Was this article helpful?

Related Articles

Complete Your Purchase