' . WC()->cart->get_cart_contents_count() . ''; return $fragments; } /* Manage the numbering of related products */ public static function attesa_related_products_args( $args ) { $args['posts_per_page'] = wc_get_default_products_per_row(); $args['columns'] = wc_get_default_products_per_row(); return $args; } /* WooCommerce previous and next products */ public static function attesa_prev_next_product(){ if (attesa_options('_woocommerce_prevnext_product', '1')) { $prev_post = get_previous_post(); $next_post = get_next_post(); echo '