דלג לתוכן הראשי

Action: wu_transition_product_amount

Fires when the amount of a product transitions from one value to another.

This hook is fired by BerlinDB when a database UPDATE changes the amount column for a product row.

Parameters

NameTypeDescription
$old_valuestringThe previous amount value.
$new_valuestringThe new amount value.
$item_idintThe product ID.

Since

  • 2.0.0

Source

Defined in inc/documentation/berlindb-dynamic-hooks.php at line 1582