Tag: WooCommerce

WooCommerce wrong attribute sort order

How to Change WooCommerce Variations and Attributes Sort Order

I was recently having an issue where the Size attribute was showing in the wrong order in the dropdown box for my variable product (S, L, M instead of S, M, L).  WooCommerce allows you to control the order that your custom attributes and variations appear in the template either alphabetically, by term ID, or by a completely custom sort order.

Product Attribute/Variation Sort Order Type To change the attribute or variation sort order type alphabetically, by term ID, or a custom sort order: In the left-hand menu, click Products and then click Attributes. On the WooCommerce Attributes page, hover over the attribute you want to change (in this example Size) and click Edit. In the…

Continue reading How to Change WooCommerce Variations and Attributes Sort Order

Connect your store to WooCommerce.com to receive extensions updates and support.

How to Get Rid of “Connect your store to WooCommerce.com to receive extensions updates and support.”

Why is there no dismiss button for this irritating nag? Because WooCommerce wants you to share your data and spend money on their website. I get it, they have to make money somehow, but I really wish they wouldn’t shove these irritating nags in your face and then remove the ability to hide them!

Method 1: Use a Function A quick fix to get rid of this nag is by using a custom function. Add the following to your functions.php. add_filter( ‘woocommerce_helper_suppress_admin_notices’, ‘__return_true’ ); Just be aware that this may quash other admin messages originating from WooCommerce.  Method 2: Use a Plugin I’ve made a simple plugin which will…

Continue reading How to Get Rid of “Connect your store to WooCommerce.com to receive extensions updates and support.”

Shipping address option missing in WooCommerce checkout. How do I enable it?

By default, WooCommerce will only give the customer an option to enter a Billing Address. In order to also allow them to enter a separate shipping address, you need to configure some shipping options.

Navigate to: WooCommerce > Settings > Shipping > Add Shipping Zone Enter a Zone Name (e.g “USA”) and choose a Zone Region (e.g “United States”) Click Add Shipping Method, choose Flat Rate, then click Add Shipping Method Click Save Changes (if the button is disabled, the Shipping Zone has already been saved automatically) Now when…

Continue reading Shipping address option missing in WooCommerce checkout. How do I enable it?

How to Hide or Remove Stock Amount in WooCommerce

By default, WooCommerce displays the amount of remaining stock to customers on the product page. To remove this stock amount, navigate to: WooCommerce > Settings > Products > Inventory > Stock display format > Never show quantity remaining in stock Click Save changes. Now the stock amount should be hidden from the product page.

Continue reading How to Hide or Remove Stock Amount in WooCommerce

How do I get rid of the sidebar in WooCommerce?

Open your functions.php file in your WordPress themes folder (usually in /wp-content/themes/your_theme_name) and paste this to the bottom: function remove_storefront_sidebar() { remove_action( ‘storefront_sidebar’, ‘storefront_get_sidebar’, 10 ); } add_action( ‘get_header’, ‘remove_storefront_sidebar’ ); Add this CSS to your styles file (usually in /wp-content/themes/your_theme_name/style.css) body.woocommerce #primary { width: 100%; } body.woocommerce.single-product #primary { width: 100%; }

Continue reading How do I get rid of the sidebar in WooCommerce?

WooCommerce: How to rename a country name

For some reason, WooCommerce (as of March 2017) lists Ireland as “Republic of Ireland”, which is not actually the official name of the state and goes against the naming convention. This could lead to lost sales with Irish shoppers who are used to choosing “Ireland” from the country dropdown menu but now can’t find it…

Continue reading WooCommerce: How to rename a country name