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>
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.
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?
Will it help if I create admin access for you?
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:
and
but your woocommerce views template doesn't take php code directly.
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.
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.
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.
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.
Is there a temporary solution to this? Are there codes to add to show the header and footer to the Woocommerce Views template?
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.
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.
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.