@@ -52,8 +52,11 @@ discard block |
||
52 | 52 | ?> |
53 | 53 | <?php if ( empty( $product_permalink ) ) : ?> |
54 | 54 | <?php echo $thumbnail . $product_name; ?> |
55 | - <?php else : ?> |
|
56 | - <a href="<?php echo esc_url( $product_permalink ); ?>"> |
|
55 | + <?php else { |
|
56 | + : ?> |
|
57 | + <a href="<?php echo esc_url( $product_permalink ); |
|
58 | +} |
|
59 | +?>"> |
|
57 | 60 | <?php echo $thumbnail . $product_name; ?> |
58 | 61 | </a> |
59 | 62 | <?php endif; ?> |
@@ -75,9 +78,12 @@ discard block |
||
75 | 78 | |
76 | 79 | <p class="woocommerce-mini-cart__buttons buttons"><?php do_action( 'woocommerce_widget_shopping_cart_buttons' ); ?></p> |
77 | 80 | |
78 | -<?php else : ?> |
|
81 | +<?php else { |
|
82 | + : ?> |
|
79 | 83 | |
80 | - <p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); ?></p> |
|
84 | + <p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); |
|
85 | +} |
|
86 | +?></p> |
|
81 | 87 | |
82 | 88 | <?php endif; ?> |
83 | 89 |