Ubercart store inventory

Ubercart stores can use the Ubercart Stock (uc_stock) sub module provided by the Ubercart package<. By default the Ubercart stock module provides rules to alter stock levels. To set up inventory tracking first start by installing and configuring the module:

  • Enable the Stock module listed under Ubercart - Extra on the modules page.
  • For each product in the Ubercart store that you wish to track inventory:
    • Navigate to the product edit page and click the Stock local task item typically in the top right under the tabs.
    • Click the checkbox to the left of the product SKU to mark Inventory tracking as active for this product. Optionally set a Threshold value if you want to be notified when stock levels drop below it. Click the Save changes button.
    • Repeat for other products.
  • Navigate to Administration -> Shipwire -> Settings -> Ubercart. Enable the Update product stock levels option by checking the box and clicking the Save configuration button.
  • Navigate to Administration -> Shipwire -> Settings -> Cron & Cache and adjust the Inventory Tracking setting to suit the number of products in your store.
  • Navigate to Administration -> Reports -> Status and click on Run cron manually link. You may need to do this multiple times depending on the amount of products in the store and the Maximum number of products per inventory request setting. By default this is 200 products so if you have 560 products you will need to click the Run cron link three times.
  • Make sure Cron is configured to run at suitable intervals. We recommend running Cron every 15 minutes. See Cache and Cron settings< for more details.

Configuring Ubercart stock rules<

The power, and complexity, of Drupal stems from it's ability to be customized to your needs. By default the Ubercart Stock module does not activate any Rules that act on stock level changes. If you wish to restrict product sales to those that have available stock then Rules will need to be enabled.

Low order volume<

To improve the accuracy of stock levels we recommend processing orders and checking inventory immediately when payment is processed. This will slow down the checkout process as communication with Shipwire will occur twice during checkout, once to submit the order for fulfillment and once to update inventory, but it will ensure that accurate stock levels are maintained which is probably more important to a smaller store.

  • Navigate to Administration -> Shipwire-> Settings -> Ubercart. Under Order fulfillment method select the Immediately during checkout option and click the Save configuration button.
  • Navigate to Administration -> Shipwire -> Settings -> Cache & Cron. Under Inventory tracking increase Inventory frequency to 12 hours and click the Save configuration button.
  • Navigate to Administration -> Configuration -> Workflow -> Rules. Under Inactive rules click enable next to the rule named Shipwire Ubercart: Update inventory after order fulfilled.

High order volume sites<

To improve the speed of the checkout process order fulfillment and inventory updates will be executed outside the checkout process in batches. Inventory levels will be adjusted locally using Ubercart Stock rules and synchronized with Shipwire at set intervals.

  • Navigate to Admistration -> Shipwire -> Settings -> Ubercart. Under Order fulfillment method select the Batch submission on CRON run option and click the Save configuration button.
  • Navigate to Administration -> Shipwire -> Settings -> Cache & Cron. Under Inventory tracking increase Inventory frequency to 1 hours and click the Save configuration button.

Add your comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
 89ME5H9M5    .d8@S@b.    .d8@S@b.       d8EEE    .dHE95b.  
8S8 d5MP YSSb d5MP YSSb dHPHH@ d9MP Y5Hb
SSE E58 E58 dSP 5@M YEHb. d@HP
8E98HMSb. SMEdHS5b. SMEdHS5b. dHP ESM "YS@@S@"
"Y9Sb EM@P "Y88b EM@P "Y88b dSS 5@9 .d5P""YHb.
E8@ 88S E59 88S E59 5HH@8EEEHM 9EE MMS
Y@Eb d98P Y9Eb dS5P Y9Eb dS5P H55 Y@@b d@HP
"YSS89P" "YE9E@P" "YE9E@P" 988 "Y58EMP"