Woocommerce Order By controls have disappeared - wordpress

I was editing my child template in Wordpress with Woocommerce. There used to be an order by input control to order my products according to various categories. However, all of a sudden it has disappeared and I am not sure what I did.
I disabled all css and functions, and even switched to another theme, but it is still gone. I checked the code and the hook 'woocommerce_before_shop_loop' is still being called.
Can anyone suggest where I can go about deducing this. I also checked all of wp-admin panel and could not find any option to enable or disable this. I only have five products added. Does this make a difference?

Related

Blank/empty pages Cart and Checkout

We’re just getting started with WooCommerce and are preparing a store with just a few categories and products in it to play around with it and get to know it before we get seriously into it.
We don’t yet have an SSL certificate for our website.
Does this mean that we won’t be able to create a store and test it until we get an SSL certificate?
As is, we’re seeing blank pages when we go to cart and try to go to checkout. On those pages, our header is there, but the page below the header is empty, blank.
I posted this same question in an existing thread that mentioned this, but haven’t had a reply. Thought maybe it might be missed in that other thread.
maybe, can you see do code shablon this page?
Thank you.
I came across this issue while writing a custom WooCommerce theme from scratch. I realized that if your theme has a page.php template (or any of the fall-back templates in the WP hierarchy) - you need to make sure, that the_content(); function gets called in the template that your page post-type is going to use (either page.php, singular.php or index.php) - if you are using the standard WooCommerce setup.
If not, the WooCommerce short-codes are simply never output - which the cart, checkout, my-account and order-tracking pages depend on.
Make sure to enter the [woocommerce_cart] shortcode in the Cart page and [woocommerce_checkout] shortcode on the checkout page.
And Goto Woocommerce settings and set the Cart Page, Checkout page.
This should solve the issue.
Meanwhile, check the Woocommerce -> System Status and look for errors.
If you are using any page builder, make sure you enter the Shortcodes in the text box modules.
If you still face the issue, try reverting back to Gutenburg editor or classic editor instead of Page builder.
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 features until you find the one that’s causing the conflict

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

WooCommerce pages showing as blank

The cart, my-account and checkout pages are all blank when I try view them. All I get is the header and footer. All I have done so far is download WooCommerce, go through the settings and add theme support. My shop page wasn't working until I added theme support but now thats the only page that does. Also I've noticed that if I use WooCommerce shortcode in my php files I can get the pages. But the shortcode doesn't seem to be working in the backend. BTW I'm using my own custom theme incase thats relevant.
What can I do to fix this?
update:
This must be an issue with my theme as if I set one of the default ones to active all the WooCommerce pages show. But I don't know what my themes issue is yet.
update: I have noticed that the WooCommerce pages are allowing me to add templates to them, apart from the shop page which is working. Why is this happening?
There are few steps to do.
First turn on debug, by switching WP_DEBUG to true.
View source of page, and check if everything is being rendered, and also check console for JS error.
At last, for theme, if after switching to default theme, content shows up, there is a theme related issue.
Check for missing templates or template parts or structure within related with page from which content is missing and compare it with default themes templates and template parts.
See if there is some template part missing, or modified, like content.php or content-page.php, the_content() , etc.

Can't change shipping method in WooCommerce on Cart & Checkout page

I'm having a real struggle with fixing the following issue.
In attached screenshot you can see I have 2 different shipping methods setup.
However, whenever I want to choose the Local Pickup (Free) as the method I get the little spinner from Wordpress for a couple of seconds but the selection changes back to Flat Rate. I have the same issue on the cart as the checkout page.
Things I already tried: disabling all plugins, change the active theme, update wordpress, nothing helped so far :/
Don't see any js issues also.
Has anyone got an idea perhaps? :)
Thanks

J-Query tabs not working in Woocommerce

I seem to be having some problems with my J-Query when using Woocommerce. I have installed Woocommerce and am using a custom theme (Foundation-master). Woocommerce works fine apart from the J-query of certain elements. For example on the checkout page the "ship to different address form" is always displayed despite whether the checkbox is ticked and when clicking on different payment options the default option is always displayed.
There are no conflicts in the console.
When I switch to the Twenty Fourteen theme Woocommerce works fine.
Does anyone know how to fix this? Or would anyone be able to point me in the direction of a way to get closer to the problem?
This was an issue of how i was registering my scripts. See here
http://foundation.zurb.com/forum/posts/2284-foundation-5-to-wordpress-js-jquery-scripts

Resources