-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storefront): BCTHEME-290 add aria labelwith price for product li…
…st item (#1878) Co-authored-by: BC-tymurbiedukhin <[email protected]>
- Loading branch information
1 parent
f93e4d7
commit daca6ad
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{#and price.price_range (if theme_settings.price_ranges '==' true)}} | ||
{{#and price.price_range.min.with_tax price.price_range.max.with_tax}} | ||
{{lang 'category.shop_by_price_range_aria' from=price.price_range.min.with_tax.formatted to=price.price_range.max.with_tax.formatted}} | ||
{{else}} | ||
{{lang 'category.shop_by_price_range_aria' from=price.price_range.min.without_tax.formatted to=price.price_range.max.without_tax.formatted}} | ||
{{/and}} | ||
{{else}} | ||
{{#if price.with_tax}} | ||
{{#if price.non_sale_price_with_tax}} | ||
{{theme_settings.pdp-non-sale-price-label}}{{price.non_sale_price_with_tax.formatted}}, | ||
{{theme_settings.pdp-sale-price-label}}{{price.with_tax.formatted}} | ||
{{else}} | ||
{{price.with_tax.formatted}} | ||
{{/if}} | ||
{{else}} | ||
{{#if price.non_sale_price_without_tax}} | ||
{{theme_settings.pdp-non-sale-price-label}}{{price.non_sale_price_without_tax.formatted}}, | ||
{{theme_settings.pdp-sale-price-label}}{{price.without_tax.formatted}} | ||
{{else}} | ||
{{price.without_tax.formatted}} | ||
{{/if}} | ||
{{/if}} | ||
{{/and}} |