khi e không đặt giá thì nó để mặc đinh 0 đ e muốn đổi nó thành liên hệ thì làm như thế nào ạ ? Em cám ơn
Bạn sửa 2 file này nhé: components/com_jshopping/templates/default/list_product/product.php (Hiển thị trên danh sách sản phẩm) và file components/com_jshopping/templates/default/product/product_default.php Tìm đoạn <?php print formatprice($product->product_price);?> Thay bằng <?php if ($product->product_price ==0) { echo "Liên hệ để biết giá"; } else { print formatprice($product->product_price); }?>
Em làm theo Anh nhưng không dc . Trong file components/com_jshopping/templates/default/product/product_default.php em không tim dc dòng <?php print formatprice($product->product_price);?> . Mong Anh giúp đỡ