evolve_woocommerce_before_cart_table

The evolve evolve woocommerce before cart table function.

Description

evolve_woocommerce_before_cart_table( $args ); 

Parameters (1)

0. $args
The args.

Usage

  1. if ( !function_exists( 'evolve_woocommerce_before_cart_table' ) ) { 
  2. require_once '/library/woo-config.php'; 
  3.  
  4. // The args. 
  5. $args = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = evolve_woocommerce_before_cart_table($args); 
  9.  

Defined (1)

The function is defined in the following location(s).

/library/woo-config.php  
  1. function evolve_woocommerce_before_cart_table($args) { 
  2. global $woocommerce; 
  3.  
  4. $html = '<div class="woocommerce-content-box full-width clearfix">'; 
  5.  
  6. $html .= '<h2>' . sprintf(__('You Have %d Items In Your Cart', 'evolve'), $woocommerce->cart->cart_contents_count) . '</h2>'; 
  7.  
  8. echo $html;