Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardogomez97 committed Sep 3, 2024
1 parent a045184 commit c6660cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/dfTools.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1408,9 +1408,11 @@ public static function get_min_variant_prices($products, $include_taxes)
$min_prices_by_product_id[$product_id]['link'] = self::get_variant_url($product, $context);
}
} else {
$min_prices_by_product_id[$product_id] = ['price' => $variant_price,
$min_prices_by_product_id[$product_id] = [
'price' => $variant_price,
'onsale_price' => $variant_onsale_price,
'link' => self::get_variant_url($product, $context)];
'link' => self::get_variant_url($product, $context)
];
}
}

Expand Down

0 comments on commit c6660cf

Please sign in to comment.