WooWeekly #435: Redirect Categories, Dismiss Notices, Optimize Product Updating

Hello there,

Welcome back to WooWeekly, your weekly appointment with WooCommerce tutorials, tips and updates handpicked for you (and the other 17,467 subscribers) so that you can learn something new.

I’m back to marketing and sales, as traffic and revenue is down after the incredible ecommerce growth of the last 3 years. I’m sure it’s the same for everyone. Time to think about strategy, partnerships and revenue streams, as well as the future of Business Bloomer. If you have any feedback or suggestions, feel free to email me back!

Anyhow, back to Woo now – enjoy.

Rodolfo Melogli


GoDaddy PRO WordPress Ecommerce hosting with WooCommerce gives you the freedom to sell anything, anywhere online – from physical products to digital downloads, services and subscriptions. We’ve integrated WooCommerce into our Managed WordPress platform where you can choose from over 75 premium WooCommerce extensions included in your plan for as long as you host your ecommerce store with us. That’s nearly $6,000 in free premium extensions — at no extra charge — to build a powerful, customized ecommerce store.

1. Brand New WooCommerce Tips

WooCommerce: Redirect Product Category Pages

It is possible to programmatically redirect all product category pages to a given page or to a relevant URL with parameters – and here’s the fix. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Close Button @ WooCommerce Checkout Notices

Let’s place a dismiss “x” button on the WooCommerce notices, so that customers can quickly close them and gain back some space. We will use a mix of PHP, JS and CSS in the snippet below in order to achieve our final goal. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Redirect to Products Admin Page After Saving A Single Product

After a product is published or updated, how do we redirect to the admin product list page (edit.php?post_type=product) as opposed to staying on the same edit product page? ~ Rodolfo Melogli, Stack Overflow

2. ICYMI: WooCommerce Articles

WooCommerce: Related Products Custom Heading & Subheading

Today I want to cover the actual “Related products” title (H2) and also find a way to display an additional piece of content right below it (subheading). ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Display Stock Status For External Products

So, how do we “manage stock” for an external product, and display the stock status on the single product page, just before the “Buy Product” button? ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Display Product Grid @ Order Emails e.g. Related Products

Bad news first – if you use the

shortcode inside emails that’s not going to work unfortunately. So, I want to fix this, and find a WooCommerce email-compatible way to show a grid of products based on a list of product IDs (for example, the list of related products based on the ordered items), and make sure I can actually see product images, titles, prices and a link. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Capitalize All Product Names

Maybe you have a mix of capitalized product names (“Red Square Table”), non-capitalized ones (“White round chair”) and all caps ones (“GREEN COUCH”), and therefore you’re looking for a PHP shortcut to fix this automatically. So, here’s a super simple solution to capitalize all product titles. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Duplicate Add to Cart Button @ Single Product Page

In case you have very long single product pages, it may be helpful to show the Add to Cart form at the bottom of the page or even inside the description tab. Thankfully this is pretty easy and only requires one line of code. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Add a Third Description @ Single Product Page

There are times when the “long description” and the “short description” are not enough on the WooCommerce Single Product page. What if you need to add another HTML content section – say – at the very bottom of the page? ~ Rodolfo Melogli, Business Bloomer

Enjoyed this issue?

Well, congratulations for reading this far – you’re one of a kind! There are many ways you can support WooWeekly and help us spread the word. Thank you in advance!

Share ithttps://wcwkly.com/newsletter-archive/

Invite friendshttps://wcwkly.com

Leave a reviewhttps://www.businessbloomer.com/shop/newsletters/wooweekly-free/

Become a sponsor for as little as $97https://wcwkly.com/sponsors/

Leave a Comment

Proudly supported by

Join them?