@@ -129,7 +129,7 @@ |
||
129 | 129 | function discontinued_template_loop_price( $price, $product ) { |
130 | 130 | $product_id = $product->get_id(); |
131 | 131 | if ( dp_is_discontinued( $product_id ) ) { |
132 | - if(is_admin()){ |
|
132 | + if ( is_admin() ) { |
|
133 | 133 | return 'Discontinued'; |
134 | 134 | } |
135 | 135 | $prod_text_option = get_post_meta( $product_id, '_discontinued_product_text', true ); |