WooWeekly #443: Dynamic Product Price | Google Search Console GTIN Error

Hello there,

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

A tough few days, as this time around it’s my wife who got sick. The weather is crazy despite we’re in May, so there’s no ending to this. Thankfully, I work from home, so I could look after little Lorenzo 24/7. I’m physically and mentally exhausted. Surely, it can only get better!

On the business side, I published 3 more WooCommerce Mini-Plugins this week despite the lack of time, so we’re at 18 out of 400 (I’m 4.5% done). Lots of work to do, still. But the best thing is that I created a custom product bundle, where customers can purchase all plugins at once for 80% off. Find more info in the first tutorial below, as I dynamically set the bundle product price based on all plugins I sell!

Back to this week’s WooCommerce tips now – enjoy!

Rodolfo Melogli


BUT FIRST… THANK YOU, STAGE SPONSOR!

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. WooCommerce Tips & Tutorials

WooCommerce: Set Product Price Based On Other Products!

This time I want to show you how I programmatically define the price of my WooCommerce Mini-Plugin All-Access-Bundle product… based on other products. As of today, I sell 18 WooCommerce plugins, so, I came up with a custom bundle product where the regular price is the total price of all plugins, and the sale price is calculated with a fixed percentage discount. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Fix Google Search Console “No global identifier provided” Error

If you registered your WooCommerce website on Google Search Console for monitoring your SEO efforts and search appearance errors, you probably got this “No global identifier provided (e.g. gtin, brand)” email notification at some stage. I got it too. Here’s the smart workaround. ~ Rodolfo Melogli, Business Bloomer

Caching in WooCommerce

Caching in WooCommerce is an essential performance tuning tool that can dramatically decrease page load time. In this article you’ll learn about two techniques to help you cache your WooCommerce store and how it can increase the performance & speed of your store. ~ Mendel Kurland, Nexcess


2. ICYMI: WooCommerce Articles

WooCommerce: Display Sale Price End Date @ Shop & Single Product Page

For some reason, this information is only visible to the admin. It would be awesome to show the “sale price end date” to customers as well, don’t you think? So, let’s do it! ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Easily Get Cart, Checkout, Account, Product URLs

WooCommerce gives us helpful shortcut functions that we can reuse in our code to get cart, checkout, account and product URLs without wondering if they have been modified by the website owner. In this way, you can always make sure you’re getting the correct URLs without wasting time looking for page/product slugs. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Add New Tab @ Single Product Page

I want to concentrate on the actual functionality of adding a custom tab, giving a name and a heading to it, showing it conditionally (e.g. only for a specific product category), and making sure the “scroll to tab” works when the URL contains its anchor tag. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Get Draft Product URL

You may need the product URL for a scheduled blog post, a future newsletter, an email; in whatever case, this is a cool way to “get” the product URL and print it in the “Publish” meta box of the single product edit page. Enjoy! ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Move Sale Badge Beside Price @ Single Product Page

The single product page template is laid out so that the SALE badge comes first, on its own line, then comes the product title, the product price on its own line, the short description, etc. As you can see, there is lots of white space on the right hand side, so let’s move the SALE badge right beside the price! ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Custom Logout Redirect @ My Account

When you use separate Login and Registration pages, or whenever you have custom landing pages you wish your customers to see instead of the default My Account page, we can set a custom URL by code and safely redirect the just-logged-out customer there. ~ Rodolfo Melogli, Business Bloomer


THANK YOU, BALCONY SPONSORS!

Nexcess Managed WooCommerce hosting is fast, easy-to-use, and includes built-in performance tools like extra PHP workers and a global CDN, which means their hosting is fully optimized for selling online. Nexcess offers free migrations, a 30 day money-back guarantee, and helpful support from WooCommerce experts 24/7/365. They are even officially recommended by WooCommerce! If you’re a serious WooCommerce store owner who needs to sell without limits, get started today by visiting Nexcess.


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/


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.

Leave a Comment

Proudly supported by

Join them?