How to extends wp-ecommerce theme's template files with roots theme in wordpress

For extends wp-ecommerce template's file we need to remove wp-ecommerce template redirect hook.
So copy and paste below code into your functions.php




add_action('init', 'hijeck_wpec_templae_hierarchy');
function hijeck_wpec_templae_hierarchy() {
remove_action('template_redirect', 'wpsc_all_products_on_page');
}

Comments

Popular posts from this blog

How to add a custom sorting or order by option on category archive or product archive page in woocommerce wordpress

How to create a custom wp_list_table and bulk action in wordpress

How to add image option in nav menu in wordpress