This may be of use to uc_stock users, views filters and integration based on stock variables.. Useful for building views where out of stock items are not displayed.

CommentFileSizeAuthor
ubercart_stock_views.patch4.3 KBdopry

Comments

christefano’s picture

Ooh, nice. Will review shortly.

Mac Clemmens’s picture

Yes! This is very useful -- Thanks!

Mac Clemmens’s picture

I noticed this wasn't in the latest release... will it be committed? It worked great for me. Thanks again,
Mac

rszrama’s picture

Version: 5.x-1.0-rc2 » 5.x-1.0-rc5
Status: Needs review » Needs work

There are a few issues with the filters apparently and several @todo's still in the code. I'm reviewing it right now, but I may have to commit a trimmed version so I don't hold up the 1.0 release.

rszrama’s picture

Status: Needs work » Fixed

Alrighty... I did this myself. Fixed, test, committed. You can kind of demo it at http://livetest.ubercart.org/views_sku less any of the filters. I've tested the filters individually and in combined usage, though. It all appears to work great.

Thanks for getting the ball rolling, dopry!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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