Skip Navigation

[Resolved] After updating WP, Theme, and plugins, Heading Menu disappear from Product Page

This thread is resolved. Here is a description of the problem and solution.

Problem: When I activate WooCommerce Views templates, the main menu and header disappears from the Product Page. I am using a child of the X theme by Themeco.

Solution: The latest version of WooCommerce Views contains a fix for this issue. Please update to the latest version.

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 14 replies, has 3 voices.

Last updated by Christian Cox 6 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#590706
missing-navigation-menu.jpg

I am trying to: I have a problem with Navigation Bar not showing on Product Pages. I created a template for products, but since I updated WordPress/theme/plugins, the code doesn't work anymore.

Link to a page where the issue can be seen:
hidden link

I expected to see: the Navigation bar like on the home page and other pages.

Instead, I got: Single Product Page without the Navigation Bar.

Please help!

The code:


<div class="entry-wrap">
<div class="entry-content">
<div>
<div>
	[wpv-woo-product-image size='full' output='' enable_third_party_filters='no' gallery_on_listings='no']
  </div>
	</div>
	<div class="summary entry-summary">

		<h1 itemprop="name" class="product_title entry-title">[wpv-post-title]</h1><div itemprop="offers" itemscope="" itemtype="<em><u>hidden link</u></em>">

	<p class="price"><span class="woocommerce-Price-amount amount">[wpv-woo-product-price]</span></p>

	

</div>
<div itemprop="description">
	<p>[wpv-post-excerpt]</p>
</div>
      	<div></div>

        <div><span class="posted_in">[types field='width' format='FIELD_NAME: FIELD_VALUE in'][/types]</span></div>
        <div><span class="posted_in">[types field='depth' format='FIELD_NAME: FIELD_VALUE in'][/types]</span></div>
        <div><span class="posted_in">[types field='height' format='FIELD_NAME: FIELD_VALUE in'][/types]</span></div>
        <div><span class="posted_in">[types field='diameter' format='FIELD_NAME: FIELD_VALUE in'][/types]</span></div>
        <div><span class="posted_in">[types field='knee-clearance' format='FIELD_NAME: FIELD_VALUE'][/types]</span></div>

        <div><span class="posted_in">[types field='seat-height' format='FIELD_NAME: FIELD_VALUE in'][/types]</span></div>

      	<div></div>


      <div>[wpv-woo-buy-options add_to_cart_text='']</div>
      <div>[ti_wishlists_addtowishlist]<div>
  <p></p>

	
<div class="product_meta">

	
	
  <div><span class="sku_wrapper">Product ID: <span class="sku" itemprop="sku">[wpv-post-field name="_sku"]</span></span></div>


	<div><span class="posted_in">Category: [display_post_tax_terms_hierarchical type="product_cat" separator=" | "]</span></div>
  	<div><span class="posted_in">Period: [wpv-post-taxonomy type='period' separator=" | "]</span></div>
    <div><span class="posted_in">Region: [wpv-post-taxonomy type='region' separator=" | "]</span></div>
    <div><span class="posted_in">Material: [wpv-post-taxonomy type='material' separator=" | "]</span></div>
    <div><span class="posted_in">Condition: [wpv-post-taxonomy type='condition' separator=" | "]</span></div>
  <p></p>

[print-me]
  
<p></p>
	
</div>


	</div><!-- .summary -->
  
    
    
</div>
              </div>



#590829

Your code shows solely what I can see in the linked page and screenshot.
If you apply that code this is exactly what you get.

It will apply to the_content() only and not the header or any above the_content() area output by your theme.

This can also not have been displayed earlier by Toolset, as the code does not produce anything more than what we see.

Pleas can you add the missing piece of the puzzle, where you add that header menu?

It is not in the code above.

#590859

I have been using the same code for 6 months, and everything was OK until I updated the wordpress, theme, and also the toolset plugins.

See this page, for instance:
hidden link

It shows the header, the breadcrumbs, and the footer.

Would it help if I create an admin access for you?

#590860

Will it help if I create admin access for you?

#590873
Screenshot-2017-11-18-08.16.15-avada.jpg

I tested with other theme just to test if the problem is with my code, and I found out that it is NOT in my code.

See the screenshot from Avada theme, and it shows the Header, Breadcrumbs, and Footer.

I tried to insert the php to show header and footer such as:

<?php get_header(); ?>

and

<?php get_footer(); ?>

but your woocommerce views template doesn't take php code directly.

#591288

Hi, Beda is off today and I've been asked to look into this ticket. I hope that's okay with you. I just checked the link you provided, and it appears that the header and navigation are showing now:
hidden link
Is this because you resolved the issue on your own, or because you have deactivated WC Views product template? If it's the latter, I would appreciate you providing admin access so I can see how things are set up. I will activate private reply fields here so you can share login credentials in confidence.

#591362

Okay thanks. Considering the complexity of your site, I think it's best for me to create a clone using the Duplicator plugin and install that clone locally where I can run tests without disturbing your live site. Let me know if you approve and I will get started.

#591365

Yes, that's OK.

#591683

Okay thanks. I'm able to replicate this on a new site installation with only the parent theme active, so it appears to be a compatibility issue with the theme and WC Views. I have escalated this ticket to our 2nd tier support team for some additional investigation. Please stand by and I will update you when I have some additional information.

#594212

Any updates?

#594793

Hi, unfortunately I have no updates to share yet. This has been escalated as a compatibility issue to our WooCommerce Views team, but I don't have a timeline for resolution just yet.

#595342

Is there a temporary solution to this? Are there codes to add to show the header and footer to the Woocommerce Views template?

#595377

Hi, I haven't received any workarounds or potential patches just yet. I apologize for the delay - this theme has a complex structure and investigation is taking more time than usual. I will add a note to the internal ticket that requests any workarounds that may be possible, and I'll let you know as soon as I have something to share.

#618758

Hi, today an erratum post was published describing this issue and offering a temporary patch file:
https://toolset.com/errata/woocommerce-views-breaks-the-x-theme-product-page-header-and-footer/

We plan to include a permanent fix for this issue in the next release of WooCommerce Views. Please try the patch and let me know if you continue to experience this problem.

#626184

Hi, you may now find the fix for this issue in the latest version of WooCommerce Views 2.7.6. This version is available as an automatic update in wp-admin, or by download here at https://toolset.com/account/downloads. Please update and let me know if you continue to experience the problem.