WooCommerce Tutorials

How to open external/affiliate product links to a new tab in WooCommerce?

One of the few deficiencies in WooCommerce are regarding external / affiliate product links. We use external products when we want to display products on our site that are being sold on another site. This is a great functionality, however there is a little glitch i.e. external product links open in the same tab which […]

How to open external/affiliate product links to a new tab in WooCommerce? Read More »

How to execute a javascript function just before saving a Woocommerce post or a product?

In this tutorial we’ll learn how to execute a javascript function just before creating/saving a woocommerce product. To do this add the following lines of code at the end of your functions.php file. functionadmin_queue( $hook ) { global $post; if ( $hook == ‘post-new.php’ || $hook == ‘post.php’ ) { if ( ‘product’ === $post->post_type

How to execute a javascript function just before saving a Woocommerce post or a product? Read More »

How to use a template theme to show category Woocommerce products?

In this tutorial we’ll learn how to display products of a ctegory in template theme page. Fortunatley woocommerce comes with a number of shortcodes which could help us achieve this. Note that WooCommerce already creates category pages, but this shortcode is useful if you want to setup a special set of products without using the

How to use a template theme to show category Woocommerce products? Read More »