@salla.sa/twilight-components 2.12.50 → 2.12.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/salla-add-product-button_41.cjs.entry.js +3 -0
- package/dist/cjs/salla-add-product-button_41.cjs.entry.js.map +1 -1
- package/dist/collection/components/salla-product-card/salla-product-card.js +3 -0
- package/dist/collection/components/salla-product-card/salla-product-card.js.map +1 -1
- package/dist/components/salla-product-card2.js +3 -0
- package/dist/components/salla-product-card2.js.map +1 -1
- package/dist/esm/salla-add-product-button_41.entry.js +3 -0
- package/dist/esm/salla-add-product-button_41.entry.js.map +1 -1
- package/dist/esm-es5/salla-add-product-button_41.entry.js +1 -1
- package/dist/esm-es5/salla-add-product-button_41.entry.js.map +1 -1
- package/dist/twilight/{p-1328d1c6.system.entry.js → p-2cbb2417.system.entry.js} +2 -2
- package/dist/twilight/{p-1328d1c6.system.entry.js.map → p-2cbb2417.system.entry.js.map} +1 -1
- package/dist/twilight/p-7afe6b27.system.js +1 -1
- package/dist/twilight/{p-f4183e87.entry.js → p-df570f3a.entry.js} +2 -2
- package/dist/twilight/{p-f4183e87.entry.js.map → p-df570f3a.entry.js.map} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +2 -2
|
@@ -22200,6 +22200,9 @@ const SallaProductCard = class {
|
|
|
22200
22200
|
if (!price) {
|
|
22201
22201
|
return;
|
|
22202
22202
|
}
|
|
22203
|
+
if (price == 0 && salla.config.get('store.settings.product.show_price_as_dash')) {
|
|
22204
|
+
return '-';
|
|
22205
|
+
}
|
|
22203
22206
|
return salla.money(price);
|
|
22204
22207
|
}
|
|
22205
22208
|
getProductPrice() {
|