Download & Extend

Field extractor should allow query alteration

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

Status:active» fixed

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

Title:View any Product permission» Field extractor doesn't ignore disabled products
Category:support request» bug report
Status:fixed» active

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

Project:Commerce Kickstart» Field Extractor
Version:7.x-2.2» 7.x-1.x-dev

#4

Title:Field extractor doesn't ignore disabled products» Field extractor should allow query alteration
Status:active» needs review

Here's a first draft.

AttachmentSize
field_extractor-allow-query-alteration.patch 1.4 KB

#5

Status:needs review» fixed

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

Status:fixed» closed (fixed)

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