• Hi
    After recent update (from 3.0.0 to 3.0.4) I saw the main shop (woocommerce) page to have in header:

    <h1 class="page-title">Products</h1>
    <div class="archive-description"><p>This is where you can add new products to your store.</p>

    The name of my page is “Shop” and the archive page shows the list of all categories.
    Can you please tell me where is this title and description comes from and how to change it?
    When you click to a category, the header shows correctly the page title and the description.

    Thank you.

    • This topic was modified 7 years, 3 months ago by etna32.
    • This topic was modified 7 years, 3 months ago by etna32.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Afterimage Designs

    (@afterimagedesigns)

    Hi etna32,

    Can you please send me the sample page where this issue occurs? Thank you

    Thread Starter etna32

    (@etna32)

    Hi

    To resolve the problem I added this inside header masthead:

    <?php elseif (is_woocommerce()) : ?>
    <div id="page-sub-header">
      <div class="container">
        <h1 class="woocommerce-products-header__title page-title">
          <?php woocommerce_page_title(); ?>
        </h1>
        <?php
       the_archive_description( '<div class="archive-description">', '</div>' );		
    		?>
      </div>
    </div>
    <?php else : ?>

    So I have the correct Woocommerce title in shop frontpage and search products, but the “archive-description” is still wrong so I delete it ( I mention it above if you can suggest something else to have the shop description).

    Regards

    I have the same issue! Here’s a link to the page: https://inflatables.sarasotawebsiterealty.com/shop/

    • This reply was modified 7 years, 3 months ago by Leslie Carson.

    Leslie,

    I ran into that same problem this evening. I was not able to edit the “All products” button (which links to the home page but is located under the products tab on the menu) – my fix was to remove that from the menu and create a standard “Shop” page that resides under “pages” in the menu are and is essentially a blank page that WooCommerce knows how to populate based on the WooCommerce settings. If for some reason you do not have a “Shop” page you should be able to just create one and then may need to link it from the WooCommerce settings depending on what version you are on.

    I hope that helps!
    Rob

    Leslie,

    After looking at your page again I noticed it is a slightly different problem that what I had. Your problem is easy to fix with CSS, just put the code below into a custom CSS area within your template and it should disappear. From what I see this should not interfere with any other titles or pages but double check to make sure. Some templates allow a category description and that is what seems to be getting picked up in your case.

    .woo-category-desc {
    display: none;
    }

    Good Luck!
    Rob

    • This reply was modified 7 years, 3 months ago by radamo7.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce shop page title’ is closed to new replies.