Scroll to top


I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

Check User Has Already Purchased Product in woo-commerce?

  WooCommerce: Check if User Has Already Purchased Product function start_deal_button(){ ob_start(); global $user; global $product; $current_user = wp_get_current_user(); if(!is_user_logged_in()) { echo “<a href='”.site_url().’/my-account’.”‘ class=’start-deal-button’>Start Deal  <i class=’fa fa-handshake’></i></a>”; }

Read More »

How to submit form with anchor tag (link) in jquery?

Submit a form with anchor tag (a and link) in jquery <form method=”get” action=””> <input type=”text” name=”ID” value=”jassi”> <input type=”text” name=”con” value=”singh”> <a href=”” onclick=”this.closest(‘form’).submit();return false;” value=”CONSTRUCTION CONTRACT”>CONSTRUCTION CONTRACT</a> </form>

Read More »

How to Update Custom Cart Count with AJAX in WooCommerce?

How to Update Custom Cart Count with AJAX in WooCommerce? function totalcartqty(){ ?> <div class=”header-cart-count”><?php echo WC()->cart->get_cart_contents_count(); ?></div> <?php } add_action(‘wp_head’,’totalcartqty’); add_filter( ‘woocommerce_add_to_cart_fragments’, ‘iconic_cart_count_fragments’, 10, 1 ); function iconic_cart_count_fragments( $fragments

Read More »