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 image option in nav menu in wordpress

How to change user id on checkout page for assign order to different user in woocommerce wordpress

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