Category: Wordpress

  • WooCommerce: Replace “Add To Cart” with “Ask” Form for Custom Products

    WooCommerce: Replace “Add To Cart” with “Ask” Form for Custom Products

    When you Google the phrase “replace Add to Cart WooCommerce” (or any variants thereof), there are a lot of SERP’s suggesting the same way of hiding/not displaying the Add To Cart button. The idea is to remove the “woocommerce_template_single_add_to_cart” action. Replace “Add to Cart” for Custom Products However, in my case, I wanted to do…

  • How to Add JavaScript to your theme

    From the last WordPress meetup, we discussed How to add javascript to your theme Inside functions.php, hook into the wp-enqueue_scripts hook add_action( ‘wp_enqueue_scripts’, ‘wpmia_load-javascript_files’); function wpmia_load_javascript_files() { wp_register_script( ‘info-caroufredsel’, get_template_directory_uri() . ‘ jquery.carouFredSel-5.5.0-packed.js’, array (‘jquery’, ‘5.5.0’, true); … … wp_enqueue_script( ‘info-carousel-instance’ );   if ( is_front_page() ) { wp_enqueue_script(‘home-page-main-flex-silder’); }  }

  • How to setup Swiftype Crawler Based Search Engine for WooCommerce

    I first started using Swiftype late last year (2015). The user experience offered by SwifType is phenomenal. It makes searching fun and not guesswork. I started with the regular SwifType Search Engine along with the WordPress plugin from SwifType. While it provided basic functionality, the array of results did not include all potential matches. Digging…

  • [WooCommerce] Checkout Progress Bar

    [WooCommerce] Checkout Progress Bar

    As you read articles/posts on ecommerce optimization, specifically checkout optimization, a popular theme emerges: The Checkout Progress Bar. The idea is to provide your visitors some kind of visual feedback that they are making progress. It tells them how far along they are before the purchase is complete. Conversely, it tells them how much longer before…

  • [SOLVED] How to trigger emails of Failed Orders in WooCommerce

    Update on February 3rd, 2016: As of version 2.5 of WooCommerce, this functionality is now built into the WC Core. This plugin is not needed. See the WC 2.5 Changelog for more details.   Following the lead from this blog post by SkyVerge, I set upon to create email notifications when an order fails. Essentially,…