0
votes

I know this may be very basic but I can't seem to figure out a way to hide a product that I've got set up in Drupal Commerce. I'm new to Drupal so thanks for your patience.

In the product's edit screen, I go to 'Status' and choose 'Disabled' which prevents them from being added to carts (instead of Add To Cart, it displays 'Product Not Available' in the store) but it doesn't actually remove it from Product Display in the store. I've set the stock status to 0 on these products and made sure that they are not being displayed as 'Featured' yet they still show up.

Is there a simple setting where I can keep the product in the backend, in case I want to activate it later, but hide it from the store?

Thanks so much for your help.


For clarification, I am using the 'Expressa' theme.

1
Unpublish the display content in this case. - RajeevK
Thanks @RajeevK, how do I unpublish a product type? I'm sorry, I've been Googling and poking around the site for a while now and can't seem to find where you can unpublish a certain product or product type. - MillerMedia
If you navigate you your content list, you will find the list of content, where product display will also be there. You just check all those content(product display node) which you want to unpublish then by update option at top. - RajeevK
Hi @RajeevK, I've 'unpublished' all of those products and they are still showing... - MillerMedia
@MxmastaMills if you are logged in to Drupal as an administrator, then you will still be able to see the page even if you have unpublished it. Try viewing the page from a different browser or log out first and try viewing the unpublished content again to see if it's still visible - nmc

1 Answers

0
votes

It has been a while since I've worked with Drupal Commerce, but I assume that your product listing is a View.

You should be able to modify your View to filter out the disabled products.