I customized the single-product.php and archive-product.php template files of woocommerce and it works fine until I login. After I log in and view the single page and shop page of my site the customized template does not work instead shows the default view of these pages. Both pages uses the customized template if the pages are viewed without logging in to the site. Even though the customized templates are within the woocommerce folder within my theme folder the customized templates does not work. I am using xampp on my local computer to develop the site.
Thanks in advance,