Skip to content

Commit b78afb0

Browse files
remove redudant comment
1 parent 95612ee commit b78afb0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugins/woocommerce/src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ private function handle_simple_product( WC_Product_Simple $product, array $produ
524524
if ( $cogs_is_enabled ) {
525525
$product->set_cogs_value( (float) $product_data['cost_of_goods'] );
526526
} else {
527-
// Store COGS directly when the feature is disabled; use product meta API so it persists on save.
528527
$this->set_cogs_value_direct( $product, (float) $product_data['cost_of_goods'] );
529528
}
530529
}

0 commit comments

Comments
 (0)