Skip to content

Commit

Permalink
Remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asumaran committed Dec 18, 2024
1 parent 4a6075f commit b0c8669
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public function build_display_items( $itemized_display_items = false ) {
// but only for the specific case of subscriptions with a free trial and a signup fee.
$items_total_calculated = 0;
foreach ( WC()->cart->get_cart() as $cart_item ) {
// deberiamos preguntar si tiene sign up fee? porque el fix es para el caso 4 que tiene sign up fee.
if ( class_exists( 'WC_Subscriptions_Product' ) && WC_Subscriptions_Product::get_sign_up_fee( $cart_item['product_id'] ) > 0 && WC_Subscriptions_Product::get_sign_up_fee( $cart_item['product_id'] ) > 0 ) {
$items_total_calculated += wc_get_product( $cart_item['product_id'] )->get_price();
}
Expand Down

0 comments on commit b0c8669

Please sign in to comment.