Need help with cron hook to update uc_stock
Posted by Anonymous on February 27, 2012 at 4:44pm
Can someone please write me a cron hook for Drupal 7 Ubercart 3 to update uc_stock?
I'm using feeds and uc_feeds to import product data. All I need is to update the existing product stock field.
I've included uc_feeds for D7 and the uc_feeds-6.x-1.x that uses the stock update. The stock update is not written in the D7 version. After many, many attempts, I just can't write it myself.
Thanks,
Katie
Here's uc_feeds-7.x:
<?php
/**
* Implementation of hook_feeds_processor_targets_alter().
*/