Posted by Eric Bullet on January 30, 2013 at 8:07pm
4 followers
| Project: | Field Extractor |
| Version: | 7.x-1.x-dev |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I have a basic install of commerce kickstart. When selecting disabled on admin/commerce/products
I want to hide the display of disabled products on /products
without forcing the site editors to unpublish the products.
I tried disabling the View any product of any type permission. However, all disabled products are still showing for anonymous users.
Comments
#1
The "disabled" value that you're updating only affects the commerce product a.k.a the variation but I think you actually want to unpublish the node, the /products displays "product displays (nodes)" so updating the status of the product won't have the desired effect.
So I recommend you to use the published flag of the node and update the /products view to filter out unpublished nodes.
#2
I see a bug here.
Field extractor doesn't respect the product status.
So if I open "The guy" Short Sleeve Tee" and disable all green variations, the green color will disappear from the add to cart form, but stay on the listing views.
#3
#4
Here's a first draft.
#5
Commited in dev.
http://drupalcode.org/project/field_extractor.git/commit/ecc34eb
#6
I'm not actually using the field extractor. I'm using the vanilla install of commerce kickstart.
What I would like to have happen is for products on/admin/commerce/products/list when disabled to remove the listing from the site. Otherwise (from the user aka store manager perspective) manage all products doesn't actually manage them.
What can I change to unpublish products from the all product page?
#7
Automatically closed -- issue fixed for 2 weeks with no activity.