ChatGPT can write Shopify apps. Try this: How would I write a shopify app to display the top 5 most sold products over the last 24 hours in the header of the page and pay a 4% commission to the developer?