cart->get_cart_contents_count() ) ); ?>
' . $label .''. $icon. '';
}
}
/*******************************************************************************************************/
/**
** Product Wishlist Button Function
**/
if( ! function_exists('arrival_wishlist_products') ){
function arrival_wishlist_products() {
if ( ! defined( 'YITH_WCWL' ) )
return;
global $product;
$url = add_query_arg( 'add_to_wishlist', get_the_ID() );
$id = get_the_ID();
$wishlist_url = YITH_WCWL()->get_wishlist_url(); ?>
'yith-woocompare-add-product','id' => $id )));
$html = '';
}
return $html;
}
}
/*******************************************************************************************************/
/**
* Cart button wrapper
*/
//add_action('woocommerce_after_shop_loop_item','arrival_cart_buttons_wrapp',11);
if( ! function_exists('arrival_cart_buttons_wrapp')){
function arrival_cart_buttons_wrapp(){
?>
';
woocommerce_show_product_loop_sale_flash();
echo '';
arrival_cart_buttons_wrapp();
echo '';
}
}
if( ! function_exists('arrival_woo_sidebar_wrapp')){
function arrival_woo_sidebar_wrapp(){
$default = arrival_get_default_theme_options();
$_archive_shop_sidebars = get_theme_mod('arrival_archive_shop_sidebars',$default['arrival_archive_shop_sidebars']);
$_single_shop_sidebars = get_theme_mod('arrival_single_shop_sidebars',$default['arrival_single_shop_sidebars']);
if( is_singular()){
$sidebar = $_single_shop_sidebars;
}else{
$sidebar = $_archive_shop_sidebars;
}
if( $sidebar != 'no_sidebar' ){
get_sidebar( $sidebar );
}
}
}