uc_stock, new and improved

Contrib type: 
Module
Status: 
Initial upload
Moderation: 
Not ready for moderation

Downloads

Compatibility: 
Ubercart 2.x

Cleaned up version of uc_stock for Drupal 6. It fixes an issue with Conditional Actions that I patched over on Drupal.org. Also, adds a CA trigger for when product stock falls below the threshold, as well as a predicate on that trigger to e-mail the admin (and/or whomever you specify in the CA settings) in this case.

Separated the stock reports code from the content... slapped a couple UI improvements on (well, I think so... would appreciate feedback on this area) (You can see a screenshot here http://66.93.231.241/tmp/stock_report.ui.png )

Converted an UPDATE/INSERT block into the new-style drupal_write_record()

One thing; it depends on this patch being applied to uc_product: http://drupal.org/node/329370


PreviewAttachmentSize
uc_stock.zip9.11 KB
zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1195
Re: uc_stock, new and improved

What's the news about it ? It will be a part of the core ? Does uc_stock will understand Conditional actions ?

I'm working on port of stock management with attributes for D6 ? But if we will able to check stock via CA when a product is added to the cart. This module will become useless and so, my port too ^^

ñull@drupal.org's picture
Offline
Joined: 01/26/2009
Juice: 135
Patch not needed

You say:

One thing; it depends on this patch being applied to uc_product: http://drupal.org/node/329370

It is better to remove that because I just found this http://drupal.org/node/329370#comment-1470602 stating that the patch is now included in UC. Please confirm!

ñull@drupal.org's picture
Offline
Joined: 01/26/2009
Juice: 135
Out of stock

Some questions before I install and test. Would this allow me beside sending an email warning to also unpublish a node when it is out of stock or trigger something else that prevents ordering? I am looking for a solution for D6 UC2.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4111
Re: Out of stock

--
Help directly fund development: Donate via PayPal!