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 add a custom email functionality in woocommerce,wordpress for example new email template for shipping order

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