Sprucing Up Sale Badges: Customizing Price Displays on Shopify's Enterprise Theme

Hey there, fellow store owners! As a Shopify expert who spends a lot of time diving into the community forums, I often see common pain points that many of you face. One topic that recently caught my eye, and sparked some really insightful discussion, was about customizing the display of sale badges or "percentage off" labels on product pages, especially for those running the robust Enterprise theme.

It all started with a question from reddyinc, who was looking to move that eye-catching "% of next to price" information. By default, the Enterprise theme places these badges in different spots – sometimes on the product image on collection pages, and as a title on product pages. Reddyinc had a clear vision, wanting to display savings and percentages right below the price, similar to how many successful stores highlight deals. Here’s what reddyinc was aiming for:

Screenshot 2026-05-30 092701

It's a small change, but one that can significantly impact how customers perceive value and urgency.

The Enterprise Theme Challenge: Getting Those Sale Badges Just Right

The Enterprise theme is powerful, but like many premium themes, its structure can be quite specific, making minor aesthetic tweaks sometimes feel like a big puzzle. Reddyinc's goal was simple yet impactful: to align the sale percentage or savings badge directly next to or below the product price. This is a common desire because it creates a more cohesive visual experience, drawing immediate attention to the discount right where the customer is focused – the price.

The community quickly jumped in to help. Moeed, for example, wisely started by asking for the store URL and password. This is always the first step for any custom help, as themes can be configured in countless ways, and without seeing the live site, it's tough to give precise advice.

Product Page Prowess: Can CSS Do the Trick?

One of the most promising avenues for product pages, as suggested by tim_tairli, is using custom CSS. The beauty of a CSS-only solution is that it generally avoids messing with your theme's core Liquid files. This is a huge plus because it significantly reduces the risk of breaking things during future theme updates. Tim_tairli even shared an example of what a CSS-only approach could look like:

To achieve this, you need to position your product badges/labels block to be right below the product price (which often is the default anyway) and then add this to your theme's custom CSS:

.product-price, .product-price+* {
  display: inline-block;
  width: fit-content;
  vertical-align: top;
}

.product-price {
  margin: 0 0.5rem 0 0;
}

.product-price+*{
  margin-top: .5em;
}

And here’s a visual of the before and after, which really drives home the impact of this change:

How to Add Custom CSS to Your Shopify Theme:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit (ideally, a duplicate of your live theme for testing) and click Actions > Edit code.
  3. In the sidebar, under the Assets folder, you'll usually find a file like theme.scss.liquid, base.css, or a similar CSS file.
  4. Scroll to the very bottom of this file and paste the provided CSS code.
  5. Click Save.
  6. Check your product pages to see the changes!

Now, it's worth noting that reddyinc later mentioned this particular snippet wasn't working for them. Tim_tairli clarified that his suggestion was based on the demo store, and it worked there. This highlights a crucial point: themes can have slightly different class names or structures depending on their version or any prior customizations. If this exact CSS doesn't work for you, you might need to use your browser's developer tools to inspect the elements on your specific product page and identify the correct class names for your price and badge elements.

When You Need to Go Deeper: Collection Pages and Theme Code Edits

While CSS can often handle product page tweaks, collection pages are a different beast. Suyash1 and tim_tairli both pointed out that achieving the desired "savings & % below the price" look on collection pages, or for more complex structural changes, will likely require diving into your theme's Liquid code. This is where things get a bit more involved, and it comes with a significant warning.

Tim_tairli brought up a really important consideration: editing theme code directly can make future theme updates a headache. He even linked to a community thread about "Rebase failed with conflicts," which is a common error when your customized theme struggles to merge with new updates from the theme developer. This can lead to hours of manual reconciliation or even force you to rebuild your customizations.

Maximus3 offered some excellent strategic advice here, giving us two main options if code editing is unavoidable:

  1. Find and move the existing sale badge (label) code: This involves locating the Liquid code responsible for rendering the badge and repositioning it. It's direct but carries the risk of conflict during updates.
  2. Create your own sale badge and leave the theme’s hidden: Maximus3 personally prefers this approach. You essentially replicate the badge's logic and styling with your own custom code, placing it exactly where you want, and then hide the original theme badge using CSS (display: none;). This method can be more robust against theme updates, as your custom code is less likely to be overwritten or conflict with core theme files, assuming you put it in an appropriate custom section or snippet.

The second option, while requiring a bit more initial effort, often pays off in the long run by making your store more resilient to theme updates. It's about thinking ahead and protecting your investment in your store's design.

Wrapping Up: Weighing Customization Against Maintenance

So, what's the takeaway from this insightful community discussion? For simple layout adjustments on product pages, like moving a sale badge, custom CSS is your best friend. It's relatively low-risk and easy to implement. Always try that first!

However, when you need more significant structural changes, especially on collection pages or if the CSS doesn't quite cut it, you're looking at theme code modifications. Here, it's crucial to proceed with caution. Always work on a duplicated theme, back up your files, and consider Maximus3's advice about creating your own custom elements to minimize future update headaches.

And remember what Moeed asked for right at the start: if you're stuck, sharing your store's URL (and password, if applicable) is the quickest way for the community or a developer to provide tailored assistance. It allows them to inspect your specific theme's structure and offer a precise solution. Customizing your Shopify store is a journey, and leveraging the collective wisdom of the community can make it a much smoother ride!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools