We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8199538 + e32426c commit db6d467Copy full SHA for db6d467
view/frontend/web/internals/template/autocomplete/products.js
@@ -73,7 +73,7 @@ define([], function () {
73
const priceGroup = algoliaConfig.priceGroup || 'default';
74
75
return html `<div className="algoliasearch-autocomplete-price">
76
- <span className="after_special ${algoliaConfig.origFormatedVar != null ? 'promotion' : ''}">
+ <span className="after_special ${item['price'][algoliaConfig.currencyCode][priceGroup + '_original_formated'] != null ? 'promotion' : ''}">
77
${item['price'][algoliaConfig.currencyCode][priceGroup + '_formated']}
78
</span>
79
${this.getOriginalPriceHtml(item, html, priceGroup)}
0 commit comments