Thank you Paula, that worked great and was very helpful. I figured out how make it only apply to specific products. It does take some legwork though. I did this by creating a new theme template for the items I didnât want the sale to show on. Right now, I only have my products split into two categories (on sale and not on sale). My solution would be tedious for more numerous splits. I am using Debut theme.
I first made a copy of three properties: product.liquid under Templates folder, product-template under Sections folder, and product-price.liquid under Snippets folder. I named them product.alternate.liquid, product-alternate.liquid, and product-price-alternate.liquid respectively. I used these as my non-sale templates, so the code was identical to how it worked before Paulaâs solution.
I then went into each of the new files and found where they reference the original properties and referenced the new properties.
Template:
{% section âproduct-templateâ %}.
Swapped to {% section âproduct-alternateâ %}.
Section:
{% include âproduct-priceâ, variant: current_variant, show_vendor: section.settings.show_vendor %}
Swapped to {% include âproduct-price-alternateâ, variant: current_variant, show_vendor: section.settings.show_vendor %}
Snippet:
I didnât change this because I used these as my non-sale items. If you wanted to make these your sale items and the original properties your non-sale, you make Paulaâs change above to get the discount to show.
After all this, you exit the liquid area and go into each product you want to show your sale under Theme Template and select your newly created template.
It seems to be working for us so far. I plan on building out more of these properties on the backend so we can easily shift from sale-to-sale. As I said before, this would be cumbersome for someone who wanted to display a large variety of discounts on multiple groups of products, but it could be done.
Also you can also use minus: XXXX to do flat dollar amount discounts with Paulaâs code above.