You are here

function commerce_wishlist_action_remove_product_for_user in Commerce Wishlist 7.2

Same name and namespace in other branches
  1. 7.3 commerce_wishlist.rules.inc \commerce_wishlist_action_remove_product_for_user()

Rules action callback to remove a specific product from user's wishlist.

File

./commerce_wishlist.rules.inc, line 121
Implementation of rules hooks and actions.

Code

function commerce_wishlist_action_remove_product_for_user($product, $account) {
  _commerce_wishlist_remove_product_for_user($product->product_id, $account->uid);
}