Skip Navigation

[Resolved] woocommerce product archive page doesn’t show all products

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

Problem:
woocommerce product archive page doesn't show all products

Solution:
WooCommerce 3.3 introduces some changes in its API, which require, for example, that a theme declares compatibility in order to do something right. That includes, for example, a legacy way of managing their own product and taxonomy archives, and the product single page.

To do that, please add this line to your active theme:
add_theme_support( 'woocommerce' );

This support ticket is created 6 years, 8 months 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
- 9:00 – 10:00 - - - - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 93 replies, has 4 voices.

Last updated by wabw media group 6 years, 7 months ago.

Assisted by: Mohammed.

Author
Posts
#743617

yeah i was unable to duplicate the issue on the site you created im not sure if it is because the products were created on the most recent version of plugins or not. We have been unable to use the duplicator but I have made the site break again at stellamarisbooks.com.

#744338

we just had another site with fresh install having the same issue.
hidden link

#744341

the most recent one is not production yet and has the fewest number of customization to it. so we can use it for troubleshooting if you send me the private response we can provide the credentials

#747240

we just had another site with fresh install having the same issue.
hidden link;

If this is a fresh install then Duplicator usually works and the site has no modifications.

Please share access to that site and if possible, a duplicate, or Database + FTP files.

I will try both, to involve DEV directly and once more replicating the copy, maybe this time we are lucky.

#748110
#757031
With WC 3.2.6.png

I was able to easily create a duplication of this site with the Duplicator Plugin.

However, I looked at the similar archive as you outlined before:
hidden link

This archive has no WordPress Archive added by Toolset.
The product template file in the WooCommerce Views settings is "WooCommerce Plugin Default Templates"
The Product Archive Template file is "Bootstrap Basic Child Theme Custom Product Archive Template"

But, as said, the archive has no WordPress Archive assigned.
If you use Toolset Views, the idea is to style them with the WordPress Archives.
However, if you prefer a custom template you can do so, but you will not need Toolset Views or Toolset WooCommerce Views for that.

The archive-product.php you have in the WooCommerce Folder of your Child Theme is an exact copy of the native WooCommerce file, unless a:

<div class="container">
...
</div>

In either case, your Child theme's template is used, you can verify that by echoing a *here* somewhere in the template.
As soon you create a WordPress Archive for the Product category archive in Toolset > WordPress archive, you can start to style the loop of that archive.
It works.

What must I do, to see a wrong behaviour?

This is expected, if you do use WooCommerce Views, you either create a WordPress archive and content Templates, or you don't, but then everything needs to be coded into your template, fully disposing of the purpose of WooCommerce Views.

When I roll back on the Duplicator to WooCommerce 3.2.6 that archive is completely broken.
It will display nothing but what you see in the ScreenShot.
When I as well downgrade WooCommerce Views, it is the exact same

Hence, I do see a worse situation on older versions and an expected situation on the new copies.

BTW; in the older copy version, even if I disable all Toolset, the archive never shows any product.
I can though show the product with Toolset Views and the rest of the plugins, up to date.

#768860

youre seeing the wrong behavior. thats the exact problem you have now officially been able to duplicate the issue.

On previous versions of the plugin the products work fine with this exact structure. all other sites contain products and are built the same but they stop working when the plugins are updated. This is the issue.

You keep saying that it isnt working like this but its not supposed to work like this however on the contrary all other sites built this way have no issues prior to the updating of those two plugins. It seems we might need developer assistance on this as it may be beyond your skillset.

#768947

Noticed when i roll back the woocommerce and woocommerce views plugins i still get no results until i go and copy the old 3.2.6 woocommerce archive-product.php template. once that is used again products show up. so that tells me yes woocommerce changed something in their product archive template but that toolset wc views is not calling the same thing on the content line of code.

#768981

your link now shows products
hidden link
using woocommerce 3.2.6 and toolset views 2.7.3 and copying the woocommerce archive from the 3.2.6 version.

To reitterate:
I understand you saying this isnt the way that you would build it however, this is the way that we have been doing and it works fine on previous versions so we need to find a solution for the sites already built.

Thanks,

#777941

any updates Beda? Shane?

#784883

I apologise, my weekend falls on Sunday and Monday, and yesterday was the Labour Day where I was not working as well.

I grabbed another copy of the site, where I see the outdated versions you mention and the product on the archive.

I will not locally deploy this again and inform the developer after about the situation.

I will update you here as soon this happens.

#784986

1. I wonder why this archive shows no content if I disable all non-Toolset Plugins.

As mentioned, I cannot escalate an issue that is not clear.
This issue, on the fresh download, is once again not replicable because that archive shows 0 products as soon I disable all "non-Toolset" plugins, and of course, leave WooCoommerce and the required WooCommerce Views active.

2. It seems I need the plugin Master Slider to make this issue happen - or better said, to even make it work at first.

If we do not know these requirements we can proceed on this thread for many pages, and will never reach a conclusion.

Please tell us how to replicate this bug with Toolset.

3. The Archive you have now on your site, as I have grabbed it, does not feature any Toolset WordPress Archive and hence Toolset Views is not only not required, it's not suggested. You do not plan to design these contents with Toolset, hence it's not needed or suggested to install a Plugin that makes exactly that possible.

4. The Settings on my package I grabbed confirm what I outline above.
The "WooCommerce Plugin Default Template" is used for the Single Product and the "Bootstrap Basic Child Theme Custom Product Archive Template" for the archive.

For this, you do not only not need Toolset WooCommerce Views, it's pointless installing it.
None of its features will work with these settings as they simply bypass the Plugin's features by calling custom templates, and, nothing is designed with the plugin but all is designed in your template.

You can deactivate Toolset WooCommerce Views on your current install and the front end will show exactly the same.
You can even deactivate Toolset entirely, it's not changing the output as it's not designed with it.

Now, when I update WooCommerce, the product disappears.

This is not a problem with Toolset, but WooCommerce and your Child Theme Template, as above steps confirm.

#786745
Screen Shot 2018-05-02 at 9.27.41 AM.png
Screen Shot 2018-05-02 at 9.11.35 AM.png
Screen Shot 2018-05-02 at 9.13.19 AM.png

First I would say that little was done with WC Views because the issued arose, and instead of continuing to build and make a larger site to duplicate which may cause issues, or adding more content that could result in making it harder to find the issue, we sent it over to be looked at.

I have started another site, which does NOT use master slider, in fact the installed plugins are: Toolset Types, Toolset Views, Toolset WooCommerce Views, WooCommerce currently, and child theme configurator which is deactivated.

I added 3 products before WC Views installation. They showed in the front end. and once i installed woocommerce views on it they disappeared from the front end. Even with it set to WC Plugin Default template for product and product archive, using the un-modified single-product.php and archive-product.php located in the WC plugin folder. No copies are even moved into child theme for WC, and no modifications are done, they're completely stock.

You're saying that it should function the same as if WC Views was disabled based on these settings, but it is not.

If i simply deactivate WC Views - the products show in the front end again. But it should show the same regardless of WC Views active or not, correct?

Re-activating WC Views and checking the settings we are back to it not displaying.

Trying the other options available it still doesn't show the product archive either.

#786832

Well, I have reported the findings in my previous reply.

Clearly, on that package/copy of the site, the issue is not happening because of Toolset, as it as well happens when I fully remove Toolset before I even proceed with the updating steps.

Can you show me this new site you made, which I assume to be another clean install with the issue replicated?
Are you able to replicate the same issue without Toolset?

In the sites, you share previously the issue happens as well without Toolset, as I replicated on the copy.
I can offer to do the same steps on another site, but the outcome will be that after the WooCommerce update, the archive does not show any more products, whether or not you enable Toolset during this update activity.

It seems a particular issue with the template that changed, and that - as far we were able to replicate by now - happens as well without even using Toolset on the site.
It works with the old WooCommerce version and stops working when you update.

Please if possible add the Duplicator and Site access to this other site if this is the same issue.

I cannot replicate this issue locally either on the copies nor fresh installs, and every time I report that it fails, you replicate it on a new install.
The idea is, that we take one install where we can replicate it.

This has until now not been possible, and I cannot ask the Developers to fix something we do not know how it happens - or as shown on the last copy of the site, is not related to Toolset.

I want to solve this for you as soon as possible, thank you for understanding that I need the correct data to allow a proper debug and fix process.

Since you report this issue for so many sites, I understand this must be an issue that is somehow replicable, but every time I hope to have found it, I see that the issue is not due to Toolset.

In that case, I cannot help (if it's not related to our Plugin).

I apologise deeply that this thread takes so long - but I need my hands on a replicable issue.

Thank you for your kind patience and cooperation.

#803275

not sure what you are unable to replicate on the terraleathertx.com site.

take a fresh duplicator of the site as it is currently
go and deactivate toolset wcviews
activate the updated woocommerce

hidden link
product shows

now activarte toolset wcviews
refresh the exact same page
hidden link
product no longer shows. please explain what the difficulty youre having in duplicating these steps.

you can the reverse the process.
step by step and see that the problem is when toolset wcviews and updated woocommerce are both running.