Want to add something special to your homepage? What about showing your bestselling products inside a whole new panel? with this code you will be able to create your own panel that will show in order your bestselling products from your catalog. Write your avatar name, put how many products you want the panel to show, and give it some style! :)
It most cases, the result code will no longer show the current most sold products of your catalog, just a random set of them. This is because now its actually not possible anymore to sort your products by quantity of sales in the catalog. You can see which are your most sold products in your developer reports screen
A tweak on this code allows now to show really recent products and AP products to Access Pass holders. This new feature will only work if you put this code inside your homepage or product page.