@@ -59,11 +59,17 @@ |
||
| 59 | 59 | <?php endif; ?> |
| 60 | 60 | </div> |
| 61 | 61 | <?php endforeach; |
| 62 | - else : |
|
| 62 | + else { |
|
| 63 | + : |
|
| 63 | 64 | if ( ! empty( $research ) ) : ?> |
| 64 | - <div class="wps-alert-info"><?php printf( __( 'No products corresponds to the search <strong>"%s"</strong>', 'wpshop' ), $research ); ?></div> |
|
| 65 | - <?php else : |
|
| 66 | - $letter_display = ( strtoupper( $current_letter ) != 'ALL' ) ? $current_letter : __( 'ALL', 'wpshop' ); ?> |
|
| 65 | + <div class="wps-alert-info"><?php printf( __( 'No products corresponds to the search <strong>"%s"</strong>', 'wpshop' ), $research ); |
|
| 66 | + } |
|
| 67 | + ?></div> |
|
| 68 | + <?php else { |
|
| 69 | + : |
|
| 70 | + $letter_display = ( strtoupper( $current_letter ) != 'ALL' ) ? $current_letter : __( 'ALL', 'wpshop' ); |
|
| 71 | +} |
|
| 72 | +?> |
|
| 67 | 73 | <div class="wps-alert-info"><?php printf( __( 'No products corresponds to the letter <strong>"%s"</strong> search', 'wpshop' ), strtoupper( $letter_display ) ); ?></div> |
| 68 | 74 | <?php endif; |
| 69 | 75 | endif; ?> |