• Resolved andysb72

    (@andysb72)


    I created my website (pages only) then installed WooCommerce. Everything is fine EXCEPT for some strange reason my Site Map page was coming up blank even though I was seeing the content in the admin. I trashed it and re-created it but it’s still blank.

    Now the strange thing is when I view the source I see the WooCommerce classes in the body tag and I even see the tags ‘<h1 class=”page-title”>Store</h1>’ and ‘<ul class=”products”> ‘.

    I can’t seem to figure it out?

    https://dev.tdfinternational.net/index.php/site-map/

    https://www.ads-software.com/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter andysb72

    (@andysb72)

    Hey! I JUST DISCOVERED that if I select the Default layout then the content DOES appear (no feature image though and the sidebar is presesnt). So what could it be about selecting the full-width template that makes the WooCommerce template take over.

    More Info. I set the WooCommerce Settings/Products/Display/ to the page Store that I created in pages (instead of the Shop default). Also, on another post I got help getting the woocommerce content to fit into my themes full-width template by using a short code (I cant find that post, it might be on another board.)

    Does any of that help? I guess the culprit is that my theme’s full-width template has been taken over by Woo.

    Thread Starter andysb72

    (@andysb72)

    I just created a new page (named it “new page”) and when I select the layout “full-width(no sidebar)” and preview it, it’s that same blank page with the class “page-template-woocommerce” in the body tag.

    Thread Starter andysb72

    (@andysb72)

    Found it! So simple. So when duplicated my full-page(no sidebar) template, renamed it woocommerce.php and added the woocommerce shortcode to it, I didn’t realize that I needed to change the name of the template in the comments in the php code “Template Name: Full-width(no sidebar)” . So then there were two templates with the same name. I change the name of woocommerce one and now it all works properly again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New Page (wordpress) keeps using WooCommerce template’ is closed to new replies.