Remove commented out stock quantity value
This commit is contained in:
parent
f580b34aa7
commit
496b602eb4
|
@ -49,8 +49,6 @@ class WC_Products_Tracking {
|
||||||
'is_virtual' => $product->get_virtual(),
|
'is_virtual' => $product->get_virtual(),
|
||||||
'is_downloadable' => $product->get_downloadable(),
|
'is_downloadable' => $product->get_downloadable(),
|
||||||
'manage_stock' => 0 == $product->get_manage_stock() ? 'N' : 'Y',
|
'manage_stock' => 0 == $product->get_manage_stock() ? 'N' : 'Y',
|
||||||
// 'stock_quantity_update' => 'Y' TODO this may require hooking in to product edit at a lower level, which doesn't seem possible for an extension.
|
|
||||||
// You can only get the current product, not the product before the update...
|
|
||||||
);
|
);
|
||||||
|
|
||||||
WC_Tracks::record_event( 'product_update', $update_properties );
|
WC_Tracks::record_event( 'product_update', $update_properties );
|
||||||
|
|
Loading…
Reference in New Issue