Strange entries appearing at the bottom of Shop page

Hello great support team,
A strange notice has appeared at the bottom of my Shop page. Please see screenshot.

I searched through your forum and found something recommended by your colleague:

I groped my way to edit in my cpanel as suggested. But instead of being removed completely, the headings remained. Please see 2nd screenshot.

Is there a step I’m missing. And why did that message appear?
Hope you can throw some light here.



!

Hello @iamwithU,

Thanks for writing to us.

I checked your given page URL but I can’t see any error at the moment.

I would suggest you please clear your browser cache and then check it again.

Thanks

Thank you Prakash for your prompt response.
The page should originally end right after that last image of your screen shot. If you see my 1st screenshot, I drew the blue line to demarcate the end of the page and I keyed in the words that the bottom should just be widgets and a footer. Thus there should not be those words, “Cakes (6)”, “Cookies (9)” etc. For some reason, they appeared, together with those words in my 1st screenshot, and I had to go to my config.php file to change the “true” to “false”. After which, the words disappeared, but those headers “Cakes (6)”, “Cookies (9)” etc remain.

Can you help me to remove those headers, such that the page ends with images and the widgets “product search” and the footer “shopping cart”, “credits…”?

Appreciate you working over the weekend!

Hello @iamwithU,

Those are the categories. To get rid of it, please go to Appearance > Customize > WooCommerce > Product Catalog and make sure to select “Show Products” only.

Kindly let us know how it goes.

Thank you @ruenel for your kind response.
When I did as you suggested, all the ‘products’ start appearing instead - which is not what I wanted.

Previously, the page ended at the bottom of the last image (a slider) in my 1st screenshot above. In other words, I had my own Categories and Products in the form of Slider Revolution modules. At the bottom of these modules was just the widget and footer. For some reason, the error messages appeared together with the ‘Categories’. Perhaps you can tell me:

a) Any clue why the error message suddenly appeared - Why is it I had to go to config.php to change “true” to “false”?

b) Is there a way to remove both the categories and products from the bottom of the page? I already have my own categories and products placed into Slider Revolution modules on the top part of the page.

c) I tried taking all my contents out of this page to a new page. Is there any implication if this new page is not the “shop” page as defined in Wordpress? Can it still function as a the Shop page for the customer?

d) If c is possible, then I will like this new page to have only the footer and widget, ie without the header and title. Am I correct then that either I put in CSS to remove the header/title, or enable “blank template”, and then put in CSS to insert the widget and footer?

Can you suggest which is better and what the CSS may look like?
Appreciate your patience.

Hey @iamwithU,

A. ) We cannot give you a full insight into why the error shows up because we cannot replicate it on our end. I suggest fully turning off PHP errors, you can find the information here:

B.) To hide the product just on the shop page, you can use the CSS code below.

.post-type-archive .products {
	display: none;
}

C.) I am not quite sure If I understand your issue here, would you mind sharing more information?

D.) Once we’ve got the information from C, we can give you an insight on how to achieve your desired layout.

Please note that custom CSS code is outside the scope of our support. Issues that might arise from the use of custom CSS code and further enhancements should be directed to a third-party developer or you can avail One where we can answer questions outside of the features of our theme.

Hope that helps.

Good to hear from you, Marc.
Allow me to recap what happened to give a better perspective:

  1. Initially, I revamped my Shop page by removing everything and replacing it only with Slider Rev modules on a “blank template”. So the page looked like this:

    • Header
    • Slider Rev modules (which show my own categories and products)
    • Widget / Footer
2.  I got help to remove the Header.
  1. A few days ago, the error messages appeared together with the Woocommerce ‘categories’. The page then looked like this:

    • Slider Rev modules (which show my own categories and products)
    • Woocommerce categories
    • error message: “Trying to access array offset on value of type bool in…”
    • Widget / Footer
  2. I found out from your forum a similar problem in 2020 and so I went to php to change the query from “true” to “false”. Thus the page looked like this:

    • Slider Rev modules (which show my own categories and products)
    • Woocommerce categories
    • Widget / Footer

I like to remove the Woocommerce categories so that in the end I’ll have only:

  • Slider Rev modules (which show my own categories and products)
  • Widget / Footer

That is why I drew the blue line in my 1st screenshot when I opened this ticket.

If that is not possible, is it ok for me to start a new page altogether, which is not the Wordpress or Woocommerce “Shop” page but still serves as a shop page for my customers? If you see the screenshot attached to this reply, you will notice the “Shop” designated by Wordpress on the “All pages” panel.

If I start a new page, it will have both the Header and the Widget / Footer. I will either have to:
(a) remove the Header, or (b) enable “blank template” and insert the Widget/Footer.

That was the question to my previous reply.

  1. Now, what is mysterious that has happened today is that on Chrome, the following has appeared:
    • Header
    • Woocommerce categories
    • Widget / Footer

My Slider Rev modules have totally disappeared! And the Header has resurrected!! Please see the screenshot attached. But when I check my Samsung tablet, iPad and iPhone, things are as per normal and not what is seen on Chrome. Can you please help?


Hey @iamwithU,

If you want to customize your shop page the way you want, I highly suggest using the Layout Builder. In the Layout Builder, you can customize your content properly to look like this one.

  • Slider Revolution module (that shows your categories and products )
  • Widget / Footer

To know more about the Layout Builder, please check this out:

On your newer issue, I suspect that this is just a cache on your end. I highly suggest clearing any cache associated with your website and it would also be best to clear your chrome cache. You can also check your website in incognito mode.

Hope that helps.

Thank you Marc, for that great suggestion. Hope you will stay with me on this.

I’ve taken note of your links and gone to the documentation & video, but couldn’t figure out how to insert the Slider Rev modules in the Layout Builder.
I’ve created the layout and set the condition. Can give me a clue what is the next step?
Look forward to learn from you.

Hey @iamwithU,

The reason why the Layout Builder is not working for you because your “Aug22” Layout Builder type is Archive, please keep in mind if you want to override the shop page, you should use WC Archive.

image

That being said, I created a new layout called Themeco Test. I also added 1 section with one slider, just duplicate the section so that you can add all your revolution slider.

On the other hand, if you are asking where to find the Revolution Slider shortcode, just click your Revolution Sliders and you can see this option.

Hope that helps.

Yes, that helped indeed. You’re awesome, Marc! Thanks for staying with me on this.

For my learning purpose, pray tell me what is the difference btw WC Archive, WC Single and Archive?

Also, do you happen to have any quick ideas on top of your head how to speed up the loading of this webpage? You notice it takes a long time to load. Without taxing you, if you have some suggestions off the cuff, please share with me. Appreciate it in advance.

Hi @iamwithU,

Glad that it helps. The Archive layouts are used for the Archive pages like Blog, Category etc, whereas the WC Archive layout is used for the WooCommerce Archive pages like Shop, Product Category etc. The WC Single layout is used for the Single Product or Product Details page, which shows the individual product. I would suggest you go through the following article for more information.

Regarding the page speed, you need to ask 3rd party developers to help you with this or you can avail of our newly launched product called Boost, where we help you with your site speed optimization.

Thanks

Thanks @tristup for the info and letting me know about Boost. Will check it out.
Cheers!

Hi @iamwithU,

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.