I have a comparison table on my product page titled EchoSync Pro, and I’ve tried editing the code to change the titles to something different because right now they are just saying “Benefit” and I would like to have 3 different custom ones. Any help would be greatly appreciated.
website: https://echosyncspeaker.store
1 Like
Hello @echosync ,
It sounds like the comparison table on your EchoSync Pro product page is hardcoded to display “Benefit” as the title, and you want to replace that with your custom titles. Here’s a straightforward way to tackle it:
First, head over to your Shopify admin and go to Online Store > Themes > Actions > Edit Code. Use the search function (Ctrl+F or Cmd+F) to look for the term “Benefit” within your theme files. It’s likely in a snippet or section that controls the comparison table.
Once you locate the file (it might be named something like product-comparison.liquid or similar), you can replace the hardcoded “Benefit” text with your desired custom titles. If there are multiple instances (for example, if you need three different headers), you may need to either set up variables or simply update the text if it’s repeated in three distinct parts of the code.
For example, if you see something like:
Benefit
You can change it to:
Custom Title 1
And repeat similar changes for the other two. If the table uses an array or loop, you might need to adjust the logic accordingly—maybe assign an array of custom titles and iterate over them.
After making your changes, save the file and preview your product page to confirm that the titles now show up as intended.
Here is a complete sections which you can add as a comparision table in your shopify store.
I have few ready made solutions for this - no need of an app.
You can use that section forever on your store on any theme you want.
Here are few options:
Comparison table #1 - https://arhamcommerce.com/products/iconic-comparison-table
Comparison table #2 - https://arhamcommerce.com/products/iconic-comparison-table-1
Comparison video - https://arhamcommerce.com/products/iconic-comparison-video
Feel free to contact if you need any other help. Thanks.
Regards
Kushal | Arham Web Works
Hey, I built an app for this called Comparely.
It lets you add a fully customizable “Compare” feature. You control all the styles and, crucially, you pick which product specs you want to show in the comparison table.