As per Fehin's request to get uc_stock to notify the seller (and or site admin), i've gone ahead and created the feature request. I couldn't find his from some searches.

If this is a duplicate, please mark it as such. Otherwise, I need this functionality as well.

Comments

j0rd’s picture

Title: uc_stock notify seller instead of store owner » uc_stock notify seller instead of store owner on low stock threashold
Turgrid’s picture

This is a new request and one that makes sense. I'll see what I can do. I can maybe code this later this week.

j0rd’s picture

I think people who want this functionality can do it with actions/workflow-ng

I believe (correct me if I'm wrong), but this is how uc_stock is currently notifying anyways.

This combined with the sellers being able to manage their own attributes, stock and shipping options pretty much completes ubercart_marketplace...and i think it would be ready for a prime time release.

Thanks for all your hard work on this project.

fehin’s picture

Thank you for posting this.

fehin’s picture

On the issue of stock, when I look at the sales report, it tells you how many of number an item has been sold but it doesn't show what's left in stock. Is there a way to show this to sellers?

j0rd’s picture

As I understand it, sellers would have to check the stock manually from editing the product and clicking on stock.

You could of course include this info with a custom module and form_alter I'm sure.

Other options would be to create a view to display this (if views has access to stock?). Maybe a custom Ubercart report (if reports have access to stock?). Not 100% sure myself as I haven't dug into the stock stuff too much. I'm not even sure if Ubercart by default provides a stock report.

mpaler’s picture

Version: 5.x-1.0-beta4 » 5.x-1.0-beta5

Has anyone managed to get notification to sellers (and admin) of low stock working on the D6 version?

Canadaka’s picture

Version: 5.x-1.0-beta5 » 6.x-1.x-dev

subscribe

syndicateStorm’s picture

There's a simple hack at http://drupal.org/node/754952 until someone has a better idea.

davidw’s picture

sub

hanoii’s picture

Rather than hacking uc_stock I think the place to achieve this is on hook_mail_alter(). However, uc_stock doesn't send all necessary objects to drupal_mail() in order to make proper changes to the $message object.

If someone is interested, I have submitted a patch for that in Ubercart #1127126: Adding stock and order object to stock threshold notification for better mail customization via hook_mail_alter() which hopefully will get accepted. Any tests there will speed that up.

hanoii’s picture

There seems to be some relationship between this issue and #754952: Seller email Token - new module, just noting it here.