Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( ! function_exists( 'jas_claue_wc_shopping_cart' ) ) {
- function jas_claue_wc_shopping_cart() {
- global $woocommerce;
- // Catalog mode
- $catalog_mode = cs_get_option( 'wc-catalog' );
- if ( $catalog_mode ) return;
- $output = '';
- $output .= '<div class="jas-icon-mini-cart pr">';
- $output .= '<a class="pr cb chp db" href="' . esc_url(wc_get_cart_url()) . '" title="' . esc_html( 'View your shopping cart', 'claue' ) . '">';
- $output .= '<i class="pe-7s-shopbag"></i>';
- $output .= '<span class="pa count bgb br__50 cw tc">' . esc_html( $woocommerce->cart->get_cart_contents_count() ) . '</span>';
- $output .= '</a>';
- $output .= '</div>';
- return apply_filters( 'jas_claue_wc_shopping_cart', $output );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement