0

I'm developing a custom WordPress theme including WooCommerce. To modify the WooCommerce default templates, I simply added a woocommerce.php file to my themes root folder. Everything works fine except the shop page. Whichever page i assigned to shop page gets 404 page not found. All other things like single product, checkout, cart working smoothly.

Akshay
  • 1
  • 3
  • Have you tried to flush the permalinks? – Mr. Jo Mar 26 '19 at 10:37
  • Yes! I have done that.. Even i deleted the shop page and recreated the blank page and reassigned. – Akshay Mar 26 '19 at 11:02
  • Is there an error in your debug.log? (And please accept my edit of your question). – Mr. Jo Mar 26 '19 at 11:06
  • Nops! there is no error. There were warnings and i have corrected that. Don't know what is going wrong. Whichever page i assigned to shop page gets 404 page not found. All other things like single product, checkout, cart working smoothly. – Akshay Mar 26 '19 at 11:45
  • Thats wired. Can you update your question and add the code you implemented in your theme? – Mr. Jo Mar 26 '19 at 12:43
  • @Mr.Jo I just added three lines of code in woocommerce.php. – Akshay Mar 27 '19 at 03:33

0 Answers0