0%
Reading progress
add_action('wp','prevent_access_to_product_page');
function prevent_access_to_product_page(){
if ( is_product() ) {
wp_redirect( get_permalink( 269 ) );
}
}
Need WooCommerce help beyond this fix?
Explore support for store workflows, integrations and custom development.
Send a note
Have a correction, suggestion or a different interpretation? Send me a note.
SEND A NOTE