Added Temporary redirect to the product/view.phtml

Added the JS function to redirect temporary on product view file that
has condition