Unlock Custom Product Highlights on Your Shopify 2.0 Theme (Like Smile!) with This Code Snippet

Hey everyone! As a Shopify expert who spends a lot of time diving into the community forums, I often come across fantastic discussions where store owners are trying to push the boundaries of their themes. One recent thread caught my eye because it perfectly illustrates how powerful a little custom code and some community collaboration can be.

The original post came from @saqlain1, who was using the "Smile" theme and wanted to add a really specific, branded section to their product pages. They had a clear vision: a set of "product highlights" – think small icons with short labels – that, when clicked, would pop up with more detailed information. And of course, they wanted it to match their brand's primary color, #0B283D, and look super professional. They even shared a screenshot to show exactly what they were aiming for:

This is a common request! Many themes, even great ones like Smile, might not have every single feature you envision right out of the box. That's where custom sections come in, and the community really shone in this thread.

The Community Steps In: From "URL Please" to "Here's the Code!"

Initially, a few helpful folks like @websensepro and @Mustafa_Ali asked for the store URL. This is a super standard and often necessary first step when diagnosing theme issues, as it lets experts inspect the live site. However, @alaattincagil jumped in with a brilliant insight: for this particular request, a store URL wasn't actually needed! Why? Because the solution could be built as a standalone Shopify 2.0 section, making it universally applicable to any modern theme, including Smile.

This is a key takeaway for all of us: sometimes, the solution isn't about tweaking existing theme files, but about creating something entirely new and self-contained that you can then drop into place. It’s a more robust and future-proof approach.

Building Your Own Product Highlights Section

So, how do you get this exact product highlights section with interactive popups onto your Shopify store? @alaattincagil provided a complete, ready-to-use code snippet that you can implement yourself. It's designed to be a fully customizable section that you can manage right from your theme editor.

Step-by-Step Implementation:

  1. Access Your Theme Code: From your Shopify admin, go to Online Store > Themes. Find your current theme, click the … (three dots) button, and then select Edit code.
  2. Create a New Section: In the left sidebar, under the sections directory, click “Add a new section”.
  3. Name Your Section: Name it product-highlights.
  4. Paste the Code: Replace everything inside the newly created product-highlights.liquid file with the following code. Make sure to copy it exactly, including the