Shop Page has different HTML coding than other pages
-
Working with WooCommece 2.4.6 the HTML coding of the page for the shop is different than the coding for the other WooCommerce pages. I could look at my theme to fix this difference, but that seems like quite a hack, and may easily be broken with updates to WooCommerce. Right now I’m looking to find a solution to this which does not end up breaking things. The shop page has:
<div id="container"><div id="content" role="main"><nav class="woocommerce-breadcrumb" ><a href="https://jigmedatse.com">Home</a> / Shop</nav> <h1 class="page-title">Shop</h1> <p class="woocommerce-info">No products were found matching your selection.</p> </div></div>
while the Cart page has:
<div id="container"> <div id="content"> <div id="post-404" class="post-404 page type-page status-publish hentry" > <h1 class="entry-title">Cart</h1> <div class="entry-content"> <div class="woocommerce"> <p class="cart-empty">Your cart is currently empty.</p> <p class="return-to-shop"><a class="button wc-backward" href="https://jigmedatse.com/shop/">Return To Shop</a></p> </div> <span class="edit-link"><a class="post-edit-link" href="https://jigmedatse.com/wp-admin/post.php?post=404&action=edit">Edit</a></span> </div><!-- .entry-content --> </div><!-- #post --> <div id="comments"> </div><!-- #comments --> </div><!-- #content --> </div><!-- #container -->
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Shop Page has different HTML coding than other pages’ is closed to new replies.