Download & Extend

Unpublished/disabled products are listed on /products page

Project:Commerce Kickstart
Version:7.x-2.1
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

I have disabled a few products.
I have unpublished the displays but still can see these products on All products page (/products). Clicking on them leads to 403 -
Access denied, but I think they shouldn't be in the list of all products.

What should I do in order to remove Unpublished/disabled products from the list of all products?

Comments

#1

Status:active» fixed

You just need to rebuild your search index.
Go to admin/config/search/search_api/index/product_display/status and then click "Re-index content"

#2

I re-indexed the index - nothing changed.
I cleared the index - all products disappeared from /products page
Then I clicked on "Index now" and all products are back - including those that are disabled.
Flashed all caches - nothing changed.

What am I doing wrong?

Thanks

#3

hi

you have to go
admin/config/search/search_api/index/product_display/workflow

select
Exclude unpublished nodes

and second step
rebuild your index search

#4

great!
This did the trick.
Thank you

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.