php - Woocommerce shop doesnt display the productsGet the solution ↓↓↓
I am facing issue in WordPress woocommerce. The shop page doesn't display the products
Steps that I followed
- I have installed Woocommerce in my WordPress project
- I've added theme support in functions.php
- I have added the woocommerce pages from the plugin tools. and imported default products
- I created a separate folder named woocommerce in my theme folder and added archive-product.php file.
But when I open the frontend shop page it doesn't display the products.
and the shop page is still targetting index.php
help me solve this issue. Thanks
Try this again: Copy the entire template folder into your theme \ woocommerce folder
I seem to have figured it out, now I get to see the list of products in the shop page.
thinking there might be a conflict with directory name and the page name I changed my WordPress address and site URL and directory from
http://localhost/shop1/index.php/shop I get to see the list of products and the theme name is reflecting archive-product.php
People are also looking for solutions of the problem: cannot access offset of type string on string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.