WooCommerce Product Vendors is an awesome extension that adds to WooCommerce many features to help you create a whole marketplace like any Envato marketplaces (CodeCanyon, ThemeForest, GraphicRiver etc…), or Creative Market.
I have to admit I love that extension built by Hugh, one of my awesome fellows at WooThemes.
Today I’d like to share a little snippet that allows you to display vendors details within the “vendor” tab on the product page. By default the tab content is populated by vendor’s fields, but you can add more. For example to display the commission value use the following code:
Pretty easy right?
The final result:
As you know I work for WooThemes, the (awesome) company behind WooCommerce, as a full time support technician. And today is a great day because we hit 4 fucking million downloads! Wow! What a milestone right?
Joel wrote a nice post on WooThemes blog to explain how stats went crazy in just a matter of months. I really recommend you to have a look at that post, you will learn how WooCommerce became the most popular e-commerce in the world with about 18% of the marketshare.
Also, I’d like to tell you something. In november, WooThemes will be organizing the WooConf, a WooCommerce related event in San Francisco. And we offer a free ticket to attend this awesome event, including flight and accommodation. To enter the competition and win this free ticket, visit that page.
Still not using WooCommerce? Well, I guess it’s time to change!
WooCommerce has an excellent add-on called “WooCommerce Wishlists” that you can get here. This add-on adds an “add to wishlist” button on the product page by default. Here is a quick snippet to add this button on archive pages too (categories pages, main shop page etc…).
Here is the final result:
Place that snippet in functions.php in your theme’s folder.
Here is a quick snippet that will be handy for many of you! This snippet allows you to create a new default sorting method to list your products from oldest to most recent. To use it, simply add the following code in the file called functions.php in your theme folder:
Here is the result in the administration:
Some of you may use the popular YOAST SEO plugin with WooCommerce to improve your search results in Google. And some of you also use our Google Product Feed plugin. But, the problem is that Google Product Feed doesn’t use YOAST SEO titles but WordPress products default titles. This has main issues. The first one is that your title aren’t optimized for SEO purposes, and the second one is that you can have encoding issues.
The good news is that with a simple snippet you can decide to use YOAST SEO product titles instead of default product titles. It’s pretty simple, all you have to do is to add this little snippet in the file called functions.php in your theme’s folder and BOOM!