• Resolved heartware

    (@heartware)


    How do you (via API) configure a Product to be completely and utterly hidden/unavailable in the shop?

    If I set the “Catalog Visibility” to “Hidden”, it disappears from the normal browsing (ie. if you select a Product Category the Product is a member of, it isn’t listed), but you can still select/view (and even put in basket) via the direct link, and even via search.

    I want the product to remain on the shop with all configuration but not available to be selected/viewed/purchased/found by my customers. At the appropriate date and time, I will toggle the “Catalog Visibility” to “Shop and Search Result” (or whatever setting I need to toggle to make it available), but until then I want to be able to configure the item in all its shapes and forms but not be able to be viewed/selected/found etc. by my customers.

    • This topic was modified 4 years, 5 months ago by heartware.
    • This topic was modified 4 years, 5 months ago by heartware.
Viewing 4 replies - 1 through 4 (of 4 total)
  • con

    (@conschneider)

    Engineer

    Hi there,

    Your observation is correct. Setting the catalogue visibility does not influence the accessibility. Anyone can view the product with the permalink.

    If you want to hide it completely you need to set the product status to draft.

    For the API: http://woocommerce.github.io/woocommerce-rest-api-docs/#product-properties
    "status": "draft"

    Kind regards,

    Thread Starter heartware

    (@heartware)

    That setting isn’t enough to fully hide it. Setting it to “Draft” hides it from search, but I can still select it (and put it in basket) if I access it via the Permalink.

    How do I *completely* hide the Product – from *everything*?

    • This reply was modified 4 years, 5 months ago by heartware.
    Mirko P.

    (@rainfallnixfig)

    Hey @heartware,

    I can still select it (and put it in basket) if I access it via the Permalink.

    You can see the product in the backend but not in the frontend. Draft status hides the product to your customers and they will get a 404 not found error if they access via direct link. If you still see the product in the frontend then you’d need to clear your browser cache or use a different browser.

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Completely Hide a Product’ is closed to new replies.