How are you?
I’m well and pretty busy with client work.
However, as part of my 2019 goals, I’m also concentrating on some personal projects – why not using my WooCommerce knowledge to build something fun?
So, before we move to this week’s content, I’d like you to help me select a domain name for my new ecommerce multilingual marketplace (all about Sicilian produce) – all I need from you is a Twitter poll vote: https://twitter.com/rmelogli/status/1085539890161467398 (thank you in advance, I’m already excited!)
And now to the serious stuff! It’s Wednesday – our appointment with “WooCommerce Weekly” is back! Here comes a series of WooCommerce tutorials, tips and workarounds put together by yours truly so that you can learn something new.
Enjoy ๐
WooCommerce: Always Display Single Variation Price
When a variable product has the same price for all variations, a unique price is shown to website users i.e. the one at the top of the page. However, this behaves differently when each variation has its own unique price โ in this case the single variation price shows after a variation is selected.
Now, this can be good or this can be bad โ it depends. So in this snippet weโll see a quick fix to make this behavior consistent i.e. showing the variation price after selection every time, no matter the conditions.
Thankfully, itโs literally one line of PHP. Enjoy:
https://businessbloomer.com/woocommerce-always-display-single-variation-price/
WooCommerce: Add Column to Users Dashboard Table
On the admin side, you might need to display WooCommerce information inside the users table (WordPress Dashboard > Users). For example, their billing country. Or maybe some custom calculation e.g. the number of completed orders.
Either way, this is super easy. First, we add a new column โ second, we tell what content should go inside it. Enjoy:
https://businessbloomer.com/woocommerce-add-column-to-users-dashboard-table/









