mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
fix(bundles): hide old price if no discount (#5561)
This commit is contained in:
parent
9e85f2aab5
commit
a5a535d341
4 changed files with 23 additions and 4 deletions
|
|
@ -34,7 +34,9 @@
|
|||
</a>
|
||||
</p>
|
||||
<div class="package-card__price-wrapper">
|
||||
<span class="package-card__price package-card__price--old">${{ (product.variants | license:selectedLicenseType).compare_at_price }}</span>
|
||||
<span class="package-card__price package-card__price--old" *ngIf="shouldShowOldPrice(product.variants, selectedLicenseType)">
|
||||
${{ (product.variants | license:selectedLicenseType).compare_at_price }}
|
||||
</span>
|
||||
<span class="package-card__price">${{ (product.variants | license:selectedLicenseType).price }}</span>
|
||||
</div>
|
||||
<a href="{{ product.storeUrl }}?utm_source=ngx_admin_landing&utm_medium=buy_bundle_{{ selectedLicenseType }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue