Thanks for reaching out. That is a great question!
The best and quickest method for this feature is using an app like PriceMole or Price Comparison and Affiliate. Both apps are competitor price monitoring and price tracking solutions, but they offer a price comparison widget that you can showcase on your product pages. You can see examples in the Images section.
If you’d like a custom solution, then you can post a job on the Shopify Experts Page and see what feedback and quotes you get.
Also, creating a table of prices and features often helps clearly articulate how your product is different from and similar to a competitor’s. Competitive Analysis can grow revenue, and you can see how in this guide.
What is it that you are selling with Shopify? I would love to know more about your business so that I can provide more specific resources to help you get started.
Iris | Social Care @ Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog