<?php wyde_social_icons('bottom'); ?> <?php } ?> <?php if ($wyde_options['menu_shop_cart'] && function_exists('wyde_woocommerce_menu')) { ?> <ul id="shop-menu"> <?php echo wyde_woocommerce_menu(); ?> </ul> <?php } ?> <?php if ($wyde_options['menu_search_icon']) { ?> <div id="search"> <?php get_template_part('/inc/ajax-search'); ?>
function woocommerce_add_to_cart_fragment($fragments) { $fragments['li.menu-cart'] = wyde_woocommerce_menu(); return $fragments; }