@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.
@@ -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() {