Skip to content

Instantly share code, notes, and snippets.

@codenamezjames
Created September 23, 2016 16:04
Show Gist options
  • Save codenamezjames/3ba1671cf6642d2721d16e0cfd802bb0 to your computer and use it in GitHub Desktop.
Save codenamezjames/3ba1671cf6642d2721d16e0cfd802bb0 to your computer and use it in GitHub Desktop.
<!-- BEFORE -->
<p class="product-price">
<span>$130.00</span>
</p>
<!-- AFTER -->
<p class="product-price">
<span class="product-price-sale">$29.98</span>
<span class="product-price-regular" style="text-decoration: line-through;">$88.00</span>
<span class="product-price-final" style="display:none;">
<span class="product-price-final-label">
<span>FINAL SALE</span>- no returns or exchanges<a class="final-sale-tooltip" href="javascript://" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Merchandise marked &quot;final sale&quot; is sold &quot;as is&quot; and may not be returned or exchanged and is not eligible for price adjustment. Merchandise prices ending in .98 indicate final sale.">
<i class="fa fa-question-circle fa-lg"></i>
</a>
</span>
</span>
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment