WooCommerce category page is blank - wordpress

I'm usgin WP 4.3.1 and WooCommerce 2.4.6.
After installed almost everything works fine. I go to /shop page and products list there.
I clicked to /product-category/digital-product which is Digital product category but it is blank page. Empty page with just sidebar!
What i have to do to make it show products or sub categories?
Here are permalink settings.
Common Settings
http://localhost/wp/%postname%/ where /wp is my WordPress root.
Product category base: product-category
Product tag base: product-tag
Product permalink base
http://localhost/wp/shop/%product_cat%

1st method:
Disable all plugins ( except WooCommerce ) and check if your issue solved.
If this fix your issue, then try to activate your plugins one by one and locate the plugin which is responsible for this issue.
2nd method:
Try to switch your theme and check to see if this solved your problem.
If this fix your issue, then inform about this issue to your theme developer and ask them to fix it.

find, if there is a file inside your theme root path named woocommerce.php, if you found it, just delete it or rename it to woocommerce.del.php then retry,
This thing fixed my blank page issue.

Related

Cannot create Elementor Posts page in Wordpress although I have selected in Reading page

I want to use my Posts page with Elementor modules.
I have done my Homepage like that
but cannot do the same with Posts page.
I have created an empty page,
added some modules.
And selected this page as Posts page in Reading page.
But when I click a page on my website,
my Elementor Posts page is not seen,
the default Wordpress page is seen.
Update :
I'm using Neve theme on Wordpress v5.8
My website address is Tubefavorites.com
My homepage with Elementor and posts page with default Wordpress has different fonts
and my homepage and posts page's components are in different order.
(In homepage its Tags, Categories, ...
In my posts page its Tags, Last Posts, ...
I'm working online in browser (its not local).
There is no error on Chrome Console.
Update end.
Currently I'm trying this in Turkish pages.
I will make the English Elementor page after I fix this.
How can I fix this?
Thanks
Do you have Elementor enabled for post?
Thus, if I understood correctly, you have created a page post and want to add it as homepage. You should go to settings - reading and select via dropdown the page you have created! Then, you will see your page as homepage and not the default one
There is also an explanation in support forum, that someone has the same problem. Please read below:
"Looks like you’re trying to edit your Posts page that has been assigned in your WordPress Reading settings (Settings > Reading). If this is the case, you may not be able to edit the assigned Posts page directly with Elementor (Basic version).
You can try deselecting the page (in the “Posts Page” box within your Reading settings) then try editing this page with Elementor"
link to the source: https://wordpress.org/support/topic/cannot-load-posts-page-with-elementor/
Thus, disable your page through Settings - Reading, edit/modify (whatever you want) your Post page. After that, you could add your page blog posts URL to the meny item (or use this URL to wherever is nessecary)
EDITED
What plugin are you using for the translations?
I saw your homepage playing correct, right? Thus, you have selected your custom page correctly, through the Settings - Reading.
Now, if you want to see the same results in Turkish, you need to translate your home page too! So, add the translation in turkish language too, or duplicate the english version for turkish one and it will play!
UPDATED
I think there is an issue with the blog page (and single post template, as I am reading in WP forum for this theme). Try to check inside Appearence -> Customize, if there is any options there, thus could change the blog template. Somehow the theme overwrites your options. Furthermore, take a look at the blog theme's doc here:
https://docs.themeisle.com/article/1306-neve-blog-archive-options
I have learned that, I have to use Templates page, in Elementor Pro.
I didn't have been selected it.
Thanks to Hakkı Uçar for this
and for installing and for helping.

How do I find the parent URL on a webpage (Wordpress)

I am working on a website for a company right now and I am running into this issue:
The original URL is similar to this: mysite.com/industrial/ where industrial has 4 subcategories which each have 2-6 pages within them. I changed the original URL to mysite.com/products/ but the subcategories and pages within are not changing to include products in their URL - they still use industrial.
For ex.: mysite.com/industrial/abc/ should be mysite.com/products/abc/ but it stays as mysite.com/industrial/abc/ after I made my change.
I assume that the subcategories are in a folder called industrial (I did not create this website so I do not know), however I can't find that folder anywhere and I'm not sure where to look. I have tried to go in to each of the subcategories and change their URLs, but I can only edit the abc part of the URL and I can't touch the rest.
** This was all done on Wordpress with a custom theme created by another company. Thank you in advance for any help you can offer!
EDIT: For anyone who is also struggling this problem this is how I solved it:
Go to Plugins -> Plugin Editor
At the top there was an option called "Select plugin to edit" -> chose the one that is custom to your website
I found the information that was suggested by Phil in the comment section on this website
I updated the names of my fields in the rewrite permastruct section for register_post_type as well as register_taxonomy
Update the page and flush your permalinks and you should be good to go!
Check what is the defined slug when registering the custom post type.
Whenever a new Custom Post is added through a plugin or them, then the permalinks needs to be flushed.
In the WordPress admin area, go to “Settings > Permalinks”. Click “Save Changes”. The permalinks and rewrite rules are now flushed.

WooCommerce hook on shop page

I'm having problems with the shop main page of WooCommerce. I have all my products in two rows, that's OK. But after that, the products appear on a unordered list and I can't remove it by hooks and by CSS
I'll show you with an IMG
enter image description here
The items that are circled is what I don't want them to appear on the webpage
This might be because of the plugin/theme conflict. Do check the Woocommerce -> System Status and look for errors.
Make sure you are using the latest version of Wordpress and Woocommerce.
How to debug:
wordpress.org/support/topic/how-to-debug-issues-after-updates
Perhaps it would be easier to find what is causing the conflict. Try temporarily switching back to the WordPress Twenty Sixteen Theme, or Storefront, and disable all plugins except for WooCommerce. If that resolves the issue, then slowly re-enable plugin one by one until you find the one that’s causing the conflict

Permalinks WordPress Woocommerce

I'm stuck with this permalink structure in WordPress, I like to have some advice from the experts in the WordPress permalink area.
I'm building a website / shop with WordPress and Woocommerce. Both the latest versions.
If a leave the permalink structure default for the website and the shop all works fine.
But the default WordPress pages will have the link structure as:
http://www.myshop.com/?page_id=25
If I change the structure to /%postname%/ the website itself works great with page links like:
http://www.myshop.com/myinformationpage
But..
The Woocommerce part however is completely broken. The products page is ok with the overview of the first shop page but every product selection will end up in a 404 error.
This is also for category's, tags en even the shop cart payment pages.
What is the way to go here?
The best way for SEO is to change the basic permalink site setting to one of the none standaard settings. But what must be done to keep the WooCommerce shop working?
I don't want to remove the /shop/ or /products/ from the WooCommerce URL.
My settings:
Common Settings: /%postname%/
Optional: Product category base: ?product_cat= and Product tag base: ?product_tag=
Product permalink base: Custom base: /?product=
After a lot of trying i came up with the setting above. This will work for all WordPress content pages and most of the WooCommerce pages but the return after payment page is still broken.
Any input is welcome here.... thanks in advance!
After trying and changing the permalinks over and over again, removing the .htaccess and save the permalinks setting again, and all other tips ....
I finally found a post on wordpress.org. On the problem that the confirmation page that wat not found. (404)
[https://wordpress.org/support/topic/order-confirmation-page-not-found]
Adding this code to function.php did the trick.
function flush_rules(){
flush_rewrite_rules();
}
add_action('init','flush_rules');
Thanks helgatheviking for your responce!

Woocommerce permalink

The issue is on Woocommerce permalink. I have added 7 menus to my woocomerce website, of which 5 of them contains the products, the others are HOME and CART. The problem is, I ain't aware of the permalink concept. Though, I tried to link my products to the respective page by changing permalink as
Custom Structure : http://example.org/%product_cat%/
Category base : products
and it works fine for the 5 products in the menu, but the problem occurs with my CART menu.
When I click it shows
"Page not found! Something has gone wrong. Sorry about that!"
I tried with Woocommerce settings, where I couldn't find any option to resolve this.
Hi try to go to Woocommerce setting and then on Checkout tab set the Cart page to your designated Cart Page that you created. (Same goes as your checkout page). Or try to go to permalink and save again.
What is the link that shows in the browser when you get the "Page not found" error?
If you go to Woocommerce Settings > Checkout, you will see a section called Checkout Pages. Make sure you set your cart and checkout pages to the correct page and save it. If that does not fix your issue, go to Settings > Permalinks and click save. Test again.
You also want to make sure you update your theme and plugins. If none of these options work, please send the url that shows when you get the "page not found" error.
The best way is to use a special plugin as well as you can save time and quickly manage URL’s on your WooCommerce store.
In my opinion, the best plugin for managing links to the WooCommerce platform is the WooCommerce Permalink Manager by Premmerce that allows you to configure URL generation strategy for your store. I used almost all similar plugins, but I can confidently say that it’s the best solution in this area. This plugin is completely free and has a friendly interface. So you can use this tool without any skill.
I hope It will help to you!

Resources