1<?php add_action( 'wp_footer', 'vazio' );
2 function vazio() {
3 if ( ! WC()->cart->is_empty() ) { ?>
4 <div style="width: 20%;" class="footer-section <?php echo esc_html($woo);?>">
5 <a href="<?php echo 'https://my_web_page.pt/finalizar-compra';?>" title="Finalizar Compra"><i class="fa fa-credit-card"></i></a>
6 </div>
7 <?php }
8 } ?>
9