Fix indents in #7174
This commit is contained in:
parent
69bf2afda9
commit
186f223d92
|
@ -224,8 +224,7 @@ class WC_Product_Variable extends WC_Product {
|
|||
|
||||
if ( ! $variation_id ) {
|
||||
$price = false;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$price = get_post_meta( $variation_id, '_regular_price', true );
|
||||
|
||||
if ( $display && ( $variation = $this->get_child( $variation_id ) ) ) {
|
||||
|
@ -248,8 +247,7 @@ class WC_Product_Variable extends WC_Product {
|
|||
|
||||
if ( ! $variation_id ) {
|
||||
$price = false;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$price = get_post_meta( $variation_id, '_sale_price', true );
|
||||
|
||||
if ( $display ) {
|
||||
|
|
Loading…
Reference in New Issue