Closed (fixed)
Project:
e-Commerce
Version:
5.x-4.x-dev
Component:
ecviews
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2007 at 04:03 UTC
Updated:
5 Feb 2009 at 21:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
Bevan commentedI forgot to upload...
Comment #2
darren ohPatch works on my site.
Comment #3
brmassa commentedGuys,
commited on eC4. ec3 needs this patch yet.
regards,
massa
Comment #4
simeno new features in ec3
Comment #5
darren ohComment #6
Bevan commentedGlad to hear it's in ec4. I agree it shouldn't go into ec3; it's a feature and EC3 is already stable. :)
Comment #7
Bevan commentedThis version of the patch doesn't exclude nodes that don't aren't tangible products, which means the filter can be used generically on regular views like taxonomy/term to exclude out of stock products.
I diffed against EC3. I'm not sure if should be ported to EC4 or not.
Comment #8
gordon commentedThanks, People can apply this if they want.
Comment #9
goldHey all,
I had a situation were I needed this functionality, but couldn't have it in the ecviews module. I've created a project page, committed the code and released my first (rather tiny) module.
ec_in_stock_filter is a straight replacement for the patch above.
If you install this module and restore ecviews.module to it's unpatched state edit the view that was using this field, ensure the field is still in the Filters and submit the View. After stripping things out and setting up the module I was still getting no products showing until I submitted the View again.
Hope someone finds this useful.
Not sure if "Fixed" is the right Status, but this should resolve the issue.