From 8d5e89c6b206dd7eac81f6ae8a186c32bf59c63d Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Tue, 31 Dec 2024 17:39:44 +0100 Subject: [PATCH] =?UTF-8?q?Poprawiono=20warunki=20sprawdzaj=C4=85ce=20wag?= =?UTF-8?q?=C4=99=20produktu=20w=20pliku=20product.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/shop-product/product.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/shop-product/product.php b/templates/shop-product/product.php index c1fecee..880cad7 100644 --- a/templates/shop-product/product.php +++ b/templates/shop-product/product.php @@ -56,7 +56,7 @@
Najniższa cena w ciągu ostatnich 30 dni: product['id'], $this -> product -> price_brutto_promo ) );?> zł
- product -> weight && $this -> product -> product_unit_id ):?> + product -> weight > 0 && $this -> product -> product_unit_id ):?>
product -> price_brutto_promo / $this -> product -> wegiht * 1 );?> product -> product_unit;?>
@@ -65,7 +65,7 @@
product -> price_brutto );?>
- product -> weight && $this -> product -> product_unit_id ):?> + product -> weight > 0 && $this -> product -> product_unit_id ):?>
product -> price_brutto / $this -> product -> weight );?> / product -> product_unit_id, $this -> lang_id );?>