• Resolved dscit

    (@dscit)


    On my shop-page the product-categories are shown. However, if I click on this the default template is shown instead of the ProductX template. How to fix this? Is there something missing in my (custom) template?

    Note 1: It is a Dutch shop so the URL says: …/product-categorie/…

    Note 2: The Workshop-category shows 5 products but if you click on it, Woocommerce reports no products. Is this related to the described issue?

    Any help is appreciated.

    Kind regards, Dirk

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @dscit

    1. It may cause problems for several reasons. Please follow the following steps:
      1. Make sure that you created the archive template and that it is published. image
      2. If step 1 is okay, then check the condition of the page. Is it set to “All Archive“? image1 image2
      3. If the above two steps are not your issue, then check the Product Short Query. Make sure it is selected as “Archive Builder“.?image
    2. No. ProductX has nothing to do with products. It only works with your design layout, with some extra features.
    Thread Starter dscit

    (@dscit)

    Hello @mehedi,

    All settings are as you described, however it is still not working. (see the 3 categories at the bottom of the https://ine.dsc-it.nl/taarten/ page.

    The categories ‘Diversen’ and ‘Taarten’ show the correct products when I click on it. The ‘Workshop’ categorie shows it has 4 products but if I click on it, no items are shown(No products found that match your search criteria.)

    Also when clicking on a category, the products are shown via the normal template, not from a designed one in ProductX.

    Please advise.

    • This reply was modified 1 year, 4 months ago by dscit.

    Hello @dscit

    Can you please send me screenshots of your category list from the backend? Please deactivate our plugin and check the product category page to see that your product is not only showing in our plugin or that the issue is from another source.

    Thread Starter dscit

    (@dscit)

    Found the issues myself.

    The workshop category was filtered out in the functions.php ( add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );), so my misstake.

    To show the products of a category in the correct template I needed to change the conditions within the archive template and set it to ‘Include productcategories’. At first I set them from the ProductX Dashboard, but that apparently differs from the condition within the template.

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Archive page not shown’ is closed to new replies.