WooWeekly #299: Custom Redirects, Empty Cart

It’s a warm Wednesday Thursday here in Sicily, and officially our first week of “back to almost normal” after 2 months of lockdown. Traffic is back on the streets, lots of people outside, sport is now partially possible and corona numbers are getting low.

Anyway, welcome back to our WooCommerce Weekly appointment – here comes a series of WooCommerce tutorials put together by yours truly so that you can learn something new.

New WooCommerce Tips

WooCommerce: Redirect Customer to URL Upon Login

There are times when you don’t want customers to login and be redirected to the default “My Account” dashboard. Maybe because you have a membership site and you want them to go to a custom “Welcome” page, or maybe you wish to send them straight to their “My Account” > “Downloads” subsection. The hook we’ll use is called “woocommerce_login_redirect” and allows us to trigger a safe redirect whenever a customer clicks on the LOGIN button. Enjoy: https://businessbloomer.com/woocommerce-redirect-customer-to-url-upon-login/

Revised WooCommerce Articles

WooCommerce: How to Fix the “Cart is Empty” Issue

For some reason, sometimes you add products to cart but the cart page stays empty (even if you can clearly see the cart widget has products for example). But don’t worry – it might just be a simple cache issue or a “theme or plugin conflict”. So, here’s your “Empty Cart” troubleshooting checklist you can follow without any technical knowledge. Good luck: https://businessbloomer.com/woocommerce-solving-cart-empty-issue/

WooCommerce: Add CSS to Order Emails

Unlike your WordPress theme, you can’t just add CSS to your style.css in order to customize the look of the WooCommerce emails. This handy PHP snippet is therefore the only viable solution. It’s a little tricky but once you get the idea, adding CSS to Order Emails is a breeze: https://businessbloomer.com/woocommerce-add-css-woocommerce-emails/

Author

  • 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

Proudly supported by

Join them?