WooWeekly #500: Programmatically Remove From Cart | Returns & Refunds | BOGO

Hello there,

Welcome back to WooWeekly, your weekly appointment with WooCommerce tutorials handpicked for you (and the other 19,216 subscribers!), so that you can learn something new.

Well, it’s issue #500, and it’s a pity I didn’t find the time to do something special like I did for issue #400. It was about 2 years ago, and if you read through the mini-interviews, most issues haven’t been solved yet. After 2 years.

Should we be worried about WooCommerce market share, then? Why are more and more clients flocking to Shopify? Are we going to go out of business?

Well, these are million dollar (for some, multi-million dollar) questions which we probably don’t have the answer for. For now. Lots of food for thought though.

Anyhow… here’s your weekly round-up of WooCommerce tips and tricks. Enjoy!

Rodolfo Melogli


Convesio is a host designed specifically for high-traffic WooCommerce stores. Unlike other hosts, our infrastructure was built from the ground up using modern technology, so your site won’t slow down or crash during critical sales events like Black Friday / Cyber Monday. Using powerful tools like New Relic, Docker, and Redis, we optimize our customers’ sites for maximum performance. Plus, our team of Scale Ops experts can be on-call during live events to immediately fix any unexpected issues. If you need a host that can handle serious eCommerce traffic, give Convesio a try.

WooCommerce Tips

WooCommerce: Remove Second Item When Item Removed From Cart

This approach might be relevant for specific promotional offers (e.g. BOGO) or custom coded product bundles. In this case, you may want to remove a second item from the cart – programmatically – once a product is removed. [Business Bloomer]

How to Get Started With WooCommerce SEO

When building a successful and profitable online business, stocking your ecommerce store with high-quality desirable products is only half the job. You also need to help customers discover your ecommerce site and the products you sell. That’s what SEO is for. [Iconic]

How to Better Manage Refunds and Returns on a WooCommerce Store

In this guide, we take a look at the issues around returns and refunds in WooCommerce and cover some of the best tools for managing them as efficiently as possible. If you’re reluctant to offer refunds and returns or you want to but aren’t quite sure how best to manage them, this guide is for you. [Commercegurus]

Creating a BOGO Offer in WooCommerce

The psychological appeal of BOGO deals lies in the perception of providing more value for money, as well as creating a sense of urgency and encouraging purchases. These offers can also help with inventory management – clearing excess stock to make way for new products. In this tutorial, we will explain the different BOGO offers you can add to your WooCommerce store, when you might need them, and some best practices for implementing this sales strategy effectively. [Studio Wombat]


Cloudways is thrilled to introduce the new Malware Protection add-on powered by Imunify360. This powerful tool automatically removes detected malware and features RASP (Runtime Active Self Protection) to eliminate threats in real time. Compatible with all PHP-based CMS, it offers SMBs seamless security without the hassle.

Our powerful WooCommerce plugins have been created from the ground up to help store owners boost sales and improve customer experience. IconicWP plugins are designed so you can customize your online store without any coding knowledge. Get an exclusive 20% discount with coupon code: WooWeekly20

ICYMI: WooCommerce Snippets

WooCommerce: Deposit Payment @ Order Pay Page

What if we want the customer to pay a deposit / first installment / partial payment on the Order Pay page (say the order total is $999, and you want them to pay $111 only)? Well, we could use a URL parameter – if that’s present and the value is lower than the order total, we can “filter” the order total and let the customer pay whatever amount. [Business Bloomer]

WooCommerce: Add Content To “New Account” Welcome Email

First impressions matter, especially in ecommerce. When a customer creates an account on your WooCommerce store, the “Your {site_title} account has been created!” welcome email is your golden opportunity to solidify a positive connection. However, the standard WooCommerce email might fall short… [Business Bloomer]

WooCommerce: Simple Add To Cart Click Counter

By implementing an Add to Cart click counter, you gain a crucial piece of the puzzle, allowing you to calculate your conversion rate more accurately. You already have the number of product sales available, so with this additional piece of data you can assess how effective your product pages are. [Business Bloomer]

WooCommerce: Send Default Order Email For Custom Status Transition

What if you want to trigger the “Order Completed” email if the order status transitions from your custom order status to the “completed” one? Or what if you want to trigger the “Order On-hold” email beyond its default triggers? [Business Bloomer]

WooCommerce: Add Content To The “Order Pay” Page

The “Order Pay” page serves a specific purpose – allowing customers to complete payment for manually created orders. Let’s add some HTML content above the table, like a heading, some text, a banner, or whatever you may need to help the customer submit their payment asap! [Business Bloomer]

WooCommerce: Display Cross-Sells For All Purchased Products @ My Account

Are you looking to enhance the shopping experience for your customers on your WooCommerce store? One effective strategy is to display cross-sells for all purchased products on the “My Account” page. [Business Bloomer]

WooCommerce: Show Additional Button @ Mini Cart

Adding an additional button can provide a smoother user experience and increase conversion rates. Whether you want to offer quick access to the shop page, a deals page, or a shortcut to your contact form – customizing the mini cart with an extra button can be powerful. [Business Bloomer]

WooCommerce: Get Products On Sale Via PHP

The function we’re talking about today is wc_get_product_ids_on_sale(). This is a super helpful way to get something without complex queries or foreach loops. So I’d like to study its codebase, see what it returns, and finally test it and print something via a shortcode. [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?