WooWeekly #433: Product Grid in Emails, Product Titles, Cheapest Item Discount

Hello there,

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

I miraculously spent some time over on StackOverflow to answer some WooCommerce development questions. That means a couple of things: (1) finally, I’m getting back into marketing and business development after 2 busy years and (2) I actually enjoy posting free solutions on the web (like on Business Bloomer), because I know that helping thousands for free can bring hundreds of premium clients and new challenges.

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: 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: 50% off on the fourth product (the cheapest one)

[..] I want to create a discount rule for WooCommerce with a 50% discount on the fourth product (the cheapest one). So if I have at least 4 products in my cart, I want to have a 50% off on the one with the lowest price. ~ Rodolfo Melogli, Stack Overflow

2. ICYMI: WooCommerce Articles

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

WooCommerce: Show Related Products In a Blog Post!

It’s difficult to drive blog readers to the shop page, so I came up with a great idea – why not add a grid of relevant related products at the end of each blog post, based on the most used keywords? ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Edit Text Strings @ Order Emails

Today I’d like to teach you a quick workaround to edit the default email text strings such as the initial greeting (‘Hi Mary,‘) or other sentences (‘We have finished processing your order.‘, ‘The following note has been added to your order:‘, ‘Just to let you know — we’ve received your order, and it is now being processed:‘, etc.). ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Count External Product Clicks

Let’s count the number of times customers click on the “Buy product” button that displays on the Single External Product Page, and show the counter in the Products Table in the backend. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Products Attributes in a Shortcode

What if you want to show the product attribute table in a blog post, or in a custom pricing table? Well, we can build a shortcode for that – simply specify a product ID and the shortcode will magically output its attributes. ~ 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/


  • Rodolfo Melogli

    Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.

    View all posts

Leave a Comment

Proudly supported by

Join them?