-
Notifications
You must be signed in to change notification settings - Fork 0
updateInventory
Everett Griffiths edited this page Jun 19, 2014
·
1 revision
Called as a per-product hook from the parseFoxycartDatafeed Snippet, this hook (snippet) will decrement the quantity of a product during each purchase. The requires that the product_code passed to Foxycart is the Moxycart product ID.
- product_code : integer must match Moxycart product id
- product_quantity : integer to indicate how many were purchased.
When called as a per-product hook from the parseFoxycartDatafeed Snippet, a whole bunch more options will be passed, but they are ignored by this Snippet.
© 2014 and beyond by Craftsman Coding