Skip to content

Instantly share code, notes, and snippets.

@rfay
Created June 21, 2011 21:44
Show Gist options
  • Select an option

  • Save rfay/1038981 to your computer and use it in GitHub Desktop.

Select an option

Save rfay/1038981 to your computer and use it in GitHub Desktop.
rules data
data
O:17:"RulesReactionRule":13:{s:9:"\0*\0parent";N;s:2:"id";s:2:"12";s:12:"\0*\0elementId";i:1;s:6:"weight";s:1:"0";s:8:"settings";a:0:{}s:4:"name";s:38:"rules_increase_stock_when_an_item_is_r";s:6:"module";s:5:"rules";s:6:"status";s:1:"1";s:5:"label";s:52:"Increase stock when an item is removed from the cart";s:11:"\0*\0children";a:1:{i:0;O:11:"RulesAction":6:{s:9:"\0*\0parent";r:1;s:2:"id";N;s:12:"\0*\0elementId";i:3;s:6:"weight";i:0;s:8:"settings";a:1:{s:25:"commerce_line_item:select";s:18:"commerce_line_item";}s:14:"\0*\0elementName";s:36:"commerce_stock_increase_by_line_item";}}s:7:"\0*\0info";a:0:{}s:13:"\0*\0conditions";O:8:"RulesAnd":8:{s:9:"\0*\0parent";r:1;s:2:"id";N;s:12:"\0*\0elementId";i:2;s:6:"weight";i:0;s:8:"settings";a:0:{}s:11:"\0*\0children";a:0:{}s:7:"\0*\0info";a:0:{}s:9:"\0*\0negate";b:0;}s:9:"\0*\0events";a:1:{i:0;s:28:"commerce_cart_product_remove";}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment