I'm setting up a shop with CartThrob, with one product with multiple options. This is set up using Price modifiers. But now the customer has requested inventory to be updated through the shop. I've looked around, and tried to see how it's done, but to no luck.

I've tried setting up a text field called inventory, and set the Product Inventory Field Name to this field, but it won't change. I also tried to do it with a Matrix, but that didn't work either.

I have the "Update Product Inventory When Editing Order" set to Yes as well.

I've tried installing the "CartThrob Price Modifiers Configurator", but there is no column for inventory here.

Is there any Getting started guides for inventory in CartThrob? Because the docs are getting me nowhere.

Edit: I've even tried adding {inventory:reduce entry_id="6" quantity="4"} pointing to the product id, but still nothing.

Edit2: Okay, so setting the Price Modifiers Configurator field to the inventory-field gave me the inventory column, as I wanted, but it's still not updating the field after purchase.

1 Answer 1


This is in the docs under Using Price Modifiers and Product Options.

inventory (Optional) Your field will need to be mapped in CartThrob's product channel settings as the inventory field to use the inventory feature.

  • 2
    Correct. If you use the configurator fieldtype, an inventory column will appear once you map the field. If you use a regular matrix field, you will need to manually add a column called {inventory}. Nov 19, 2013 at 16:51
  • 1
    That got the inventory column to show. But it still won't subtract for each purchase. Is there any way to debug what's happening after purchase?
    – peirix
    Nov 20, 2013 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.